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

This tile is used to seperate the different levels. A boss enemy in one level should have the key to the next level.
Наследование: WallTile
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DoorTile ( object parent, bool locked = true, int key ) : System

Constructor. Gets the number of the key and if the door is locked

Save ( XmlWriter xmlw ) : void

Method to save the DoorTile in a .xml file

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

DoorTile() публичный Метод

Constructor. Gets the number of the key and if the door is locked
public DoorTile ( object parent, bool locked = true, int key ) : System
parent object parent.
locked bool Status of the door
key int int id of the key
Результат System

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

Method to save the DoorTile in a .xml file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter XmlWriter.
Результат void