Documentation ¶
Index ¶
Constants ¶
View Source
const ( SpriteScaleFactor = float32(1.0) FixedCameraDirection = 6 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CharacterActionSystem ¶
type CharacterActionSystem struct {
// contains filtered or unexported fields
}
func NewCharacterActionSystem ¶
func NewCharacterActionSystem(grfFile *grf.File) *CharacterActionSystem
func (*CharacterActionSystem) Add ¶
func (s *CharacterActionSystem) Add(char *entity.Character)
func (*CharacterActionSystem) AddByInterface ¶
func (s *CharacterActionSystem) AddByInterface(o ecs.Identifier)
func (*CharacterActionSystem) Remove ¶
func (s *CharacterActionSystem) Remove(e ecs.BasicEntity)
func (*CharacterActionSystem) Update ¶
func (s *CharacterActionSystem) Update(dt float32)
type CharacterActionable ¶
type CharacterActionable interface { component.CharacterStateComponentFace component.CharacterSpriteRenderInfoComponentFace }
type CharacterRenderSystem ¶
type CharacterRenderSystem struct { RenderCommands *opengl.RenderCommands // contains filtered or unexported fields }
func NewCharacterRenderSystem ¶
func NewCharacterRenderSystem(grfFile *grf.File, textureProvider graphic.TextureProvider) *CharacterRenderSystem
func (*CharacterRenderSystem) Add ¶
func (s *CharacterRenderSystem) Add(char *entity.Character)
func (*CharacterRenderSystem) AddByInterface ¶
func (s *CharacterRenderSystem) AddByInterface(o ecs.Identifier)
func (*CharacterRenderSystem) Remove ¶
func (s *CharacterRenderSystem) Remove(e ecs.BasicEntity)
func (*CharacterRenderSystem) Update ¶
func (s *CharacterRenderSystem) Update(dt float32)
type CharacterRenderable ¶
type CharacterRenderable interface { ecs.BasicFace component.CharacterStateComponentFace component.CharacterAttachmentComponentFace }
Click to show internal directories.
Click to hide internal directories.