game

package
v0.0.0-...-f1dee3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2019 License: MIT Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game interface {
	ProcessInput(message []byte)
	NewPlayerConnect(client ws.Client)
	RemovePlayer(playerID int32, clientID int32)
	GetQuitChannel() chan bool
	Update()
}

func NewGame

func NewGame(hub ws.Hub) Game

NewGame create new game master

Directories

Path Synopsis
package config.
package config.
package shape is to define shape interface of game object to handle object collision proper
package shape is to define shape interface of game object to handle object collision proper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL