NosLib v0.2.0 NosLib.LocationSerializer View Source

Character actions and interaction command with the world.

Link to this section Summary

Link to this section Types

Link to this type

position()

View Source
position() :: %{x: integer(), y: integer()}
Link to this type

spawn_character()

View Source
spawn_character() :: %{
  id: binary(),
  music_id: integer(),
  map_name: binary(),
  position: position()
}

Link to this section Functions

Link to this function

render(template, param)

View Source
render(:spawn_character, spawn_character()) :: [binary()]