common

package
Version: 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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DestroyPlayerEvent

type DestroyPlayerEvent struct {
	ClientID int32
	PlayerID int32
}

DestroyPlayerEvent is event sent from objManager to game master

type NewPlayerEvent

type NewPlayerEvent struct {
	Client ws.Client
}

NewPlayerEvent is event sent from objManager to game master

type Point

type Point struct {
	X float32
	Y float32
}

Point has X and Y expressing object location

type ProcessInputEvent

type ProcessInputEvent struct {
	Message []byte
}

ProcessInputEvent is game input event sent from objManager to game master

Source Files

Jump to

Keyboard shortcuts

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