C# 클래스 EffectTransformation, PuzzleGameProject

Class representing the changes applied to the player by an element. This class is used by the PlayerMovementController to know the effects of elements that the player come across.
파일 보기 프로젝트 열기: Cedric-Paris/PuzzleGameProject 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
isChangingSomething bool
isEnergy bool
isObjectif bool
isObstacle bool
isStartingJump bool
isTall bool
isWater bool
isWinner bool
newDirection DirectionProperties,
newPosition Vector3

공개 메소드들

메소드 설명
EffectTransformation ( bool changingSomething = true ) : System.Collections

Initializes a new instance of the EffectTransformation class.

메소드 상세

EffectTransformation() 공개 메소드

Initializes a new instance of the EffectTransformation class.
public EffectTransformation ( bool changingSomething = true ) : System.Collections
changingSomething bool see
리턴 System.Collections

프로퍼티 상세

isChangingSomething 공개적으로 프로퍼티

Indicate whether there is an effect. false = The effect is not treatedé (no effect)
public bool isChangingSomething
리턴 bool

isEnergy 공개적으로 프로퍼티

Indicate whether the element encountered is energy.
public bool isEnergy
리턴 bool

isObjectif 공개적으로 프로퍼티

Indicate whether the element encountered is an objective.
public bool isObjectif
리턴 bool

isObstacle 공개적으로 프로퍼티

Indicate whether the element encountered is an obstacle.
public bool isObstacle
리턴 bool

isStartingJump 공개적으로 프로퍼티

Indicates whether the element jumped the player.
public bool isStartingJump
리턴 bool

isTall 공개적으로 프로퍼티

Indicate whether the element encountered is tall. If it is the case the player can't jump over.
public bool isTall
리턴 bool

isWater 공개적으로 프로퍼티

Indicate whether the element encountered is water.
public bool isWater
리턴 bool

isWinner 공개적으로 프로퍼티

Specifies whether the player has won.
public bool isWinner
리턴 bool

newDirection 공개적으로 프로퍼티

A new direction.
public DirectionProperties, newDirection
리턴 DirectionProperties,

newPosition 공개적으로 프로퍼티

A new position.
public Vector3 newPosition
리턴 Vector3