C# Class Gruppe22.Backend.WallTile

A tile representing a wall in the game. A wall blocks actor movements.
Inheritance: Tile
显示文件 Open project: propra13-orga/gruppe22 Class Usage Examples

Public Properties

Property Type Description
_type WallType

Public Methods

Method 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 method

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

WallTile() public method

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

WallTile() public method

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.
return System

Property Details

_type public_oe property

public WallType _type
return WallType