Documentation ¶
Index ¶
- type State
- func (s *State) Characters() []entity.ICharacter
- func (s *State) Entities() []entity.IEntity
- func (s *State) Node() model.INode
- func (s *State) Over() bool
- func (s *State) PhysicsEntities() []entity.IEntity
- func (s *State) Update(delta float32, inputCallback func(float32)) (pickedUp []entity.IItem, enemiesKilled []entity.IEnemy)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct { // Config WaitBeforePickupable float32 FallSpeedUp float32 Player entity.IPlayer Enemies []entity.IEnemy Items []entity.IItem Attrezzo []entity.IEntity Attacks []entity.IAttack World *world.World // contains filtered or unexported fields }
func (*State) Characters ¶
func (s *State) Characters() []entity.ICharacter
func (*State) PhysicsEntities ¶
Click to show internal directories.
Click to hide internal directories.