common

package
v0.0.0-...-09be2d9 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2021 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

Jump to

Keyboard shortcuts

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