C# Класс Gruppe22.Backend.WallTile

A tile representing a wall in the game. A wall blocks actor movements.
Наследование: Tile
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
_type WallType

Открытые методы

Метод Описание
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.

Описание методов

Save() публичный метод

The method to save a WallTile in a XML-file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter A XMLwriter
Результат void

WallTile() публичный метод

A constructor for the WallTile. Just calls the base constructor.
public WallTile ( object parent ) : System
parent object
Результат System

WallTile() публичный метод

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.
Результат System

Описание свойств

_type публичное свойство

public WallType _type
Результат WallType