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
Mostra file Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

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

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

Save() public method

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