C# Class 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.
Inheritance: WallTile
Afficher le fichier Open project: propra13-orga/gruppe22 Class Usage Examples

Méthodes publiques

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

Method Details

DoorTile() public méthode

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

Save() public méthode

Method to save the DoorTile in a .xml file
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter XmlWriter.
Résultat void