Documentation
¶
Overview ¶
Package subjects represents of set of properties needed for the different components to interact with the game loop, not needing a concrete knowledge of the underlying type.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Animateable ¶
type Animateable interface { Originer Scale() (float64, float64) IsHorizontalFlipped() bool IsVerticalFlipped() bool DrawOffset() (float64, float64) }
Animateable is used for animating sets of images. These methods help work through the different sizes and directions that the entity and images may take.
type Originer ¶
type Originer interface {
At() vector.MutableVector
}
Originer is to identify the origin point of an entity
Click to show internal directories.
Click to hide internal directories.