C# Class Gruppe22.Backend.CheckpointTile

A tile used as a saving point for the player.
Inheritance: Tile
Mostra file Open project: propra13-orga/gruppe22 Class Usage Examples

Public Methods

Method Description
CheckpointTile ( object parent, bool visited, int bonuslife ) : System

Constructor for the Checkpoint. Can get passed the bonuslifes and if it was visited before

Save ( System xmlw ) : void

Method to save the CheckpointTile in a .xml file

Method Details

CheckpointTile() public method

Constructor for the Checkpoint. Can get passed the bonuslifes and if it was visited before
public CheckpointTile ( object parent, bool visited, int bonuslife ) : System
parent object parentobject.
visited bool Set the visited attribute
bonuslife int Set the bonuslifes
return System

Save() public method

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