package
Version:
v0.0.0-...-c288e79
Opens a new window with list of versions in this module.
Published: Nov 17, 2023
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Entity struct {
Pos
}
type Game struct {
LevelChans []chan *Level
InputChan chan *Input
Level *Level
}
const (
None InputType = iota
Up
Down
Left
Right
QuitGame
CloseWindow
Search
)
type Pos struct {
X, Y int
}
const (
StoneWall Tile = '#'
DirtFloor Tile = '.'
ClosedDoor Tile = '|'
OpenDoor Tile = '/'
Blank Tile = 0
Pending Tile = -1
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.