Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //ScreenWidth of the game ScreenWidth float64 //ScreenHeight of the game ScreenHeight float64 )
View Source
var (
GameStateMsgMain tentsuyu.GameStateMsg = "MainGame"
)
GameState Messages used for this game
Functions ¶
Types ¶
type GameMain ¶
type GameMain struct {
// contains filtered or unexported fields
}
GameMain represents the main GameState of our game
func NewGameMain ¶
NewGameMain returns our main gamestate
func (GameMain) Msg ¶
func (g GameMain) Msg() tentsuyu.GameStateMsg
Msg returns the gamestatemsg and achieves the GameState interface
func (*GameMain) SetMsg ¶
func (g *GameMain) SetMsg(gs tentsuyu.GameStateMsg)
SetMsg sets the gamestatemsg value
Click to show internal directories.
Click to hide internal directories.