kalevala v0.1.0 Kalevala.Character.Command View Source
Commands handle player actions
Link to this section Summary
Functions
Sets up a module to be a command
Link to this section Functions
Sets up a module to be a command
To create a dynamic command, which parses player text to determine if it matches:
defmodule MyCommand do
use Kalevala.Character.Command, dynamic: true
end