Documentation ¶
Index ¶
Constants ¶
View Source
const ( JumpVelocityIncr = 0.02 FallVelocityTerminal = -0.5 FallVelocityIncr = -0.025 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Game ¶
type Game struct { Level *level.HMap Player *agents.Player Agent agents.Agent Camera *Camera // contains filtered or unexported fields }
func (*Game) PlayerSeen ¶
func (*Game) ResolveCollisions ¶
func (*Game) Status ¶
func (g *Game) Status() GameStatus
func (*Game) TimeRemaining ¶
type GameStatus ¶
type GameStatus = byte
const ( GameStatusDefeat GameStatus = iota GameStatusVictory )
Click to show internal directories.
Click to hide internal directories.