C# Class Gruppe22.Backend.Logic

Inheritance: IHandleEvent
Show file Open project: propra13-orga/gruppe22

Protected Properties

Property Type Description
_map Map
_parent IHandleEvent
_random System.Random

Public Methods

Method Description
ChangeMap ( string filename, Coords pos ) : void
GenerateMaps ( ) : void
HandleEvent ( bool DownStream, Events eventID ) : void
Logic ( IHandleEvent parent, Map map = null, Random random = null ) : System
Update ( GameTime gametime ) : void

Method Details

ChangeMap() public method

public ChangeMap ( string filename, Coords pos ) : void
filename string
pos Coords
return void

GenerateMaps() public method

public GenerateMaps ( ) : void
return void

HandleEvent() public method

public HandleEvent ( bool DownStream, Events eventID ) : void
DownStream bool
eventID Events
return void

Logic() public method

public Logic ( IHandleEvent parent, Map map = null, Random random = null ) : System
parent IHandleEvent
map Map
random System.Random
return System

Update() public method

public Update ( GameTime gametime ) : void
gametime Microsoft.Xna.Framework.GameTime
return void

Property Details

_map protected property

protected Map,Gruppe22.Backend _map
return Map

_parent protected property

protected IHandleEvent _parent
return IHandleEvent

_random protected property

protected Random,System _random
return System.Random