kalevala v0.1.0 Kalevala.World.Room View Source

Rooms are the base unit of space in Kalevala

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Confirm movement for a character

Replace internal room state

Replace internal room items state

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

confirm_movement(event, room_id)

View Source

Confirm movement for a character

Replace internal room state

Link to this function

update_items(pid, item_instances)

View Source

Replace internal room items state