C# Class SimpleSoccer.Net.BaseGameEntity

Provides an abstract base for all entities managed in the game
Datei anzeigen Open project: soshimozi/SimpleSoccer.Net Class Usage Examples

Public Methods

Method Description
BaseGameEntity ( int objectId ) : System
HandleMessage ( Telegram message ) : bool
Render ( Graphics g ) : void
Update ( ) : void

Protected Methods

Method Description
GetNextId ( ) : int

Method Details

BaseGameEntity() public method

public BaseGameEntity ( int objectId ) : System
objectId int
return System

GetNextId() protected static method

protected static GetNextId ( ) : int
return int

HandleMessage() public method

public HandleMessage ( Telegram message ) : bool
message Telegram
return bool

Render() abstract public method

abstract public Render ( Graphics g ) : void
g System.Drawing.Graphics
return void

Update() public method

public Update ( ) : void
return void