C# Class Gruppe22.Backend.WallTile

A tile representing a wall in the game. A wall blocks actor movements.
Inheritance: Tile
Afficher le fichier Open project: propra13-orga/gruppe22 Class Usage Examples

Méthodes publiques

Свойство Type Description
_type WallType

Méthodes publiques

Méthode Description
Save ( XmlWriter xmlw ) : void

The method to save a WallTile in a XML-file

WallTile ( object parent ) : System

A constructor for the WallTile. Just calls the base constructor.

WallTile ( object parent, Random r ) : System

Another constructor for the WallTile. Chooses random decorations for the wall.

Method Details

Save() public méthode

The method to save a WallTile in a XML-file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter A XMLwriter
Résultat void

WallTile() public méthode

A constructor for the WallTile. Just calls the base constructor.
public WallTile ( object parent ) : System
parent object
Résultat System

WallTile() public méthode

Another constructor for the WallTile. Chooses random decorations for the wall.
public WallTile ( object parent, Random r ) : System
parent object
r System.Random A random used to choose the deco.
Résultat System

Property Details

_type public_oe property

public WallType _type
Résultat WallType