system

package
v0.0.0-...-90da1f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

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 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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL