C# Class Gruppe22.Backend.Tile

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

Protected Properties

Свойство Type Description
_parent object

Méthodes publiques

Méthode 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 méthode

public HandleEvent ( bool DownStream, Events eventID ) : void
DownStream bool
eventID Events
Résultat void

Save() public méthode

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
Résultat void

Tile() public méthode

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

Update() public méthode

Abstract update method.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

_parent protected_oe property

protected object _parent
Résultat object