C# Class Gruppe22.Backend.TeleportTile

A tile used to connect rooms. If the player enters this tile he changes the room.
Inheritance: Tile
Mostra file Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method Description
Save ( XmlWriter xmlw ) : void

The method to save a TeleportTile in a XML-file. Just writes all properties to the file.

TeleportTile ( object parent, string nextXml, Backend pos, bool isTeleport = false, bool isHidden = false, bool isEnabled = true, bool isUp = false ) : System

The constructor for the TeleportTile. Setting default values.

Method Details

Save() public method

The method to save a TeleportTile in a XML-file. Just writes all properties to the file.
public Save ( XmlWriter xmlw ) : void
xmlw System.Xml.XmlWriter A XMLwriter
return void

TeleportTile() public method

The constructor for the TeleportTile. Setting default values.
public TeleportTile ( object parent, string nextXml, Backend pos, bool isTeleport = false, bool isHidden = false, bool isEnabled = true, bool isUp = false ) : System
parent object
nextXml string
pos Backend
isTeleport bool
isHidden bool
isEnabled bool
isUp bool
return System