Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MsgList = make(chan string, 100)
Functions ¶
func ClearUnderBlock ¶
func ClearUnderBlock()
func Down_speed_up_tick ¶
func Down_speed_up_tick()
func GameRussia ¶
func GameRussia()
func JudgeCollision_down ¶
func JudgeCollision_down() bool
func JudgeCollision_other ¶
func Start ¶
func Start(event gameserver2.IM_protocol) (gameserver2.IM_protocol, bool)
Types ¶
type GameInit ¶
type GameInit struct { Side int `json:"side"` Width int `json:"width"` Height int `json:"height"` Speed int `json:"speed"` Num_block int `json:"num_block"` Type_color string `json:"type_color"` //Ident int `json:"ident"` Direction int `json:"direction"` Grade int `json:"grade"` Over bool `json:"Over"` Arr_bX []int `json:"arr_bX"` Arr_bY []int `json:"arr_bY"` Arr_store_X []int `json:"arr_store_X"` Arr_store_Y []int `json:"arr_store_Y"` Arr_store_color []string `json:"arr_store_color"` }
Click to show internal directories.
Click to hide internal directories.