game

package
v0.0.0-...-00ed849 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	*mserver.Server
	// contains filtered or unexported fields
}

Game represents an instance of a game running on this server.

func New

func New(logger *logrus.Logger) (*Game, error)

New creates a new game, configured with the provided configuration file.

func (*Game) Start

func (g *Game) Start() error

Start starts the game, opening the configured query and game ports.

Jump to

Keyboard shortcuts

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