C# 클래스 ChangeDirectionElement, PuzzleGameProject

Element which changes the player direction.
상속: Element
파일 보기 프로젝트 열기: Cedric-Paris/PuzzleGameProject

보호된 프로퍼티들

프로퍼티 타입 설명
newDirection DirectionProperties,

공개 메소드들

메소드 설명
Effect ( bool isTreated = false ) : EffectTransformation,

Element Effect. An EffectTransformation object type is returned with the modification applied by the effect. The EffectTransformation object indicates the new direction(newDirection) for the Player.

메소드 상세

Effect() 공개 메소드

Element Effect. An EffectTransformation object type is returned with the modification applied by the effect. The EffectTransformation object indicates the new direction(newDirection) for the Player.
public Effect ( bool isTreated = false ) : EffectTransformation,
isTreated bool true = the element is treated definitively. / false = the element effect may be requested again.
리턴 EffectTransformation,

프로퍼티 상세

newDirection 보호되어 있는 프로퍼티

The new direction applied by the element.
protected DirectionProperties, newDirection
리턴 DirectionProperties,