game

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: Unlicense Imports: 2 Imported by: 1

README

Game

Game contains game specific definitions. Each game would normally have its own unique implementation of any combination of entities.

All source engine games have different available entities, as well as plenty of their own game specific code. Providing entity definitions for the game to the main engine code is managed here.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CounterstrikeSource

type CounterstrikeSource struct{}

CounterstrikeSource

func (*CounterstrikeSource) RegisterEntityClasses

func (target *CounterstrikeSource) RegisterEntityClasses()

RegisterEntityClasses loads all Game entity classes into the engine.

type IGame

type IGame interface {
	// RegisterEntityClasses should setup any game entity classes
	// for use with the engine when loading entdata
	RegisterEntityClasses()
}

IGame interface represents a game

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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