C# Class ChangeDirectionElement, PuzzleGameProject

Element which changes the player direction.
Inheritance: Element
Mostra file Open project: Cedric-Paris/PuzzleGameProject

Protected Properties

Property Type Description
newDirection DirectionProperties,

Public Methods

Method Description
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.

Method Details

Effect() public method

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.
return EffectTransformation,

Property Details

newDirection protected_oe property

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