C# 클래스 FinalCase, PuzzleGameProject

Final Square of a level, the player must pass on it after picking all the objectives to win.
상속: Objectif
파일 보기 프로젝트 열기: Cedric-Paris/PuzzleGameProject

공개 프로퍼티들

프로퍼티 타입 설명
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