Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component struct{}
Component is required for the system
func (*Component) GetWallComponent ¶
GetWallComponent impl;ements the Wallable interface
type Face ¶
type Face interface {
GetWallComponent() *Component
}
Face is something able to retrieve it's wall Component
type System ¶
type System struct {
// contains filtered or unexported fields
}
System moves the wall tiles to look like falling
func (*System) Add ¶
func (s *System) Add(basic *ecs.BasicEntity, space *common.SpaceComponent, wall *Component)
Add adds an entity to the system
func (*System) AddByInterface ¶
func (s *System) AddByInterface(i ecs.Identifier)
AddByInterface adds an entity that implements the Able interface to the system
func (*System) Remove ¶
func (s *System) Remove(basic ecs.BasicEntity)
Remove removes an entity from the system. It doesn't do anything as there is no need to remove entites from the system.
Click to show internal directories.
Click to hide internal directories.