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 the bullet component
func (*Component) GetCreditRollComponent ¶
GetCreditRollComponent returns the bullet component
type Face ¶
type Face interface {
GetCreditRollComponent() *Component
}
Face is the interface for an entity with a bullet component
type System ¶
type System struct {
// contains filtered or unexported fields
}
System is the bullet system
func (*System) Add ¶
func (s *System) Add(basic *ecs.BasicEntity, space *common.SpaceComponent, cred *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 bullet able interface
func (*System) Remove ¶
func (s *System) Remove(basic ecs.BasicEntity)
Remove removes an entity from the System
Click to show internal directories.
Click to hide internal directories.