C# Класс FinalCase, PuzzleGameProject

Final Square of a level, the player must pass on it after picking all the objectives to win.
Наследование: Objectif
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
nbobjectif int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddObjectif() публичный статический Метод

Increment the number of objectives to pick
public static AddObjectif ( ) : void
Результат void

Effect() публичный Метод

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
Результат EffectTransformation,

PickObjectif() публичный статический Метод

Decrement the number of objectives to pick
public static PickObjectif ( ) : void
Результат void

Описание свойств

nbobjectif публичное статическое свойство

The number of Objectifs to pick to activate the Square
public static int nbobjectif
Результат int