C# Class ChangeDirectionElement, PuzzleGameProject

Element which changes the player direction.
Inheritance: Element
Afficher le fichier Open project: Cedric-Paris/PuzzleGameProject

Protected Properties

Свойство Type Description
newDirection DirectionProperties,

Méthodes publiques

Méthode 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 méthode

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.
Résultat EffectTransformation,

Property Details

newDirection protected_oe property

The new direction applied by the element.
protected DirectionProperties, newDirection
Résultat DirectionProperties,