C# Class Gruppe22.Backend.Tile

An abstract class representing a generic tile (i.e. blank floor)
Inheritance: Backend.IHandleEvent
显示文件 Open project: propra13-orga/gruppe22 Class Usage Examples

Protected Properties

Property Type Description
_parent object

Public Methods

Method Description
HandleEvent ( bool DownStream, Events eventID ) : void

Save ( XmlWriter xmlw ) : void

Abstract method to save a tile in a XML file

Tile ( object parent ) : System

An empty constructor (setting default values)

Update ( GameTime gameTime ) : void

Abstract update method.

Method Details

HandleEvent() public method

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

Save() public method

Abstract method to save a tile in a XML file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter the XmlWriter used for saving the file
return void

Tile() public method

An empty constructor (setting default values)
public Tile ( object parent ) : System
parent object The parent for a tile.
return System

Update() public method

Abstract update method.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Property Details

_parent protected_oe property

protected object _parent
return object