Documentation
¶
Index ¶
Constants ¶
View Source
const ( SignUpRoute = "sign_up" RootRoute = "root" GameRoute = "game" Vs6WaitingRoomRoute = "vs6_waiting_room" Vs1WaitingRoomRoute = "vs1_waiting_room" LobbiesRoute = "lobbies" NewLobbyRoute = "new_lobby" ShowLobbyRoute = "show_lobby" )
Variables ¶
This section is empty.
Functions ¶
func ClosestMultiple ¶ added in v1.0.3
ClosestMultiple finds the closest multiple of 'b' for the number 'a'
func DirectionStrings ¶
func DirectionStrings() []string
DirectionStrings returns a slice of all String values of the enum
func PreviousMultiple ¶ added in v1.0.3
PreviousMultiple find the previous multiple of 'b' for the number 'a'
Types ¶
type Direction ¶
type Direction int
func DirectionString ¶
DirectionString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func DirectionValues ¶
func DirectionValues() []Direction
DirectionValues returns all values of the enum
func (Direction) IsADirection ¶
IsADirection returns "true" if the value is listed in the enum definition. "false" otherwise
type MovingObject ¶
type Object ¶
func (Object) IsColliding ¶
IsColliding will check if Object c is colliding with Object o
func (Object) IsCollidingCircle ¶ added in v1.2.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.