Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Board ¶
type Board struct {
//Maze [60][40]BlockType
// odd shaped board
Maze [40][60]BlockType
StartingPoint MazePosition
}
type Bugface ¶
type Bugface struct {
ecs.BasicEntity
common.RenderComponent
common.SpaceComponent
Direction
MazePosition
Invincible bool
}
type Enemy ¶
type Enemy struct {
MazePosition
Direction
PrevDir Direction
}
type Level ¶
type Level struct {
Height, Width int
StartingPosition MazePosition
}
type MazePosition ¶
type MazePosition struct {
X, Y int
}
Click to show internal directories.
Click to hide internal directories.