C# Class Gruppe22.Backend.CheckpointTile

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

Méthodes publiques

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

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

Save() public méthode

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