C# Class FinalCase, PuzzleGameProject

Final Square of a level, the player must pass on it after picking all the objectives to win.
Inheritance: Objectif
Afficher le fichier Open project: Cedric-Paris/PuzzleGameProject

Méthodes publiques

Свойство Type Description
nbobjectif int

Méthodes publiques

Méthode Description
AddObjectif ( ) : void

Increment the number of objectives to pick

Effect ( bool isTreated = false ) : EffectTransformation,

Return the effect of the square. If there are no more objectives to pick, the player win

PickObjectif ( ) : void

Decrement the number of objectives to pick

Private Methods

Méthode Description
OnLevelWasLoaded ( int level ) : void
Start ( ) : void

Start the instance. The square start activated

Update ( ) : void

If there is some objectives to pick, disable the square, else enable it

Method Details

AddObjectif() public static méthode

Increment the number of objectives to pick
public static AddObjectif ( ) : void
Résultat void

Effect() public méthode

Return the effect of the square. If there are no more objectives to pick, the player win
public Effect ( bool isTreated = false ) : EffectTransformation,
isTreated bool
Résultat EffectTransformation,

PickObjectif() public static méthode

Decrement the number of objectives to pick
public static PickObjectif ( ) : void
Résultat void

Property Details

nbobjectif public_oe static_oe property

The number of Objectifs to pick to activate the Square
public static int nbobjectif
Résultat int