- WorldState
-
- time
- Current Time in game
- entities
- Current entities in the engine
- Entity
-
- id
- ID of entity
- x
- x coordinate of entity
- y
- y coordinate of entity
- radius
- radius of entity
- creature?
- returns true if and only if the Entity is a creature
- resource?
- returns true if and only if the Entity is a resource
- spike?
- returns true if and only if the Entity is a spike
- distance
- given another Entity is returns the distance between the centers