C# Class 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.
Afficher le fichier Open project: Cedric-Paris/PuzzleGameProject Class Usage Examples

Méthodes publiques

Свойство Type Description
isChangingSomething bool
isEnergy bool
isObjectif bool
isObstacle bool
isStartingJump bool
isTall bool
isWater bool
isWinner bool
newDirection DirectionProperties,
newPosition Vector3

Méthodes publiques

Méthode Description
EffectTransformation ( bool changingSomething = true ) : System.Collections

Initializes a new instance of the EffectTransformation class.

Method Details

EffectTransformation() public méthode

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

Property Details

isChangingSomething public_oe property

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

isEnergy public_oe property

Indicate whether the element encountered is energy.
public bool isEnergy
Résultat bool

isObjectif public_oe property

Indicate whether the element encountered is an objective.
public bool isObjectif
Résultat bool

isObstacle public_oe property

Indicate whether the element encountered is an obstacle.
public bool isObstacle
Résultat bool

isStartingJump public_oe property

Indicates whether the element jumped the player.
public bool isStartingJump
Résultat bool

isTall public_oe property

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

isWater public_oe property

Indicate whether the element encountered is water.
public bool isWater
Résultat bool

isWinner public_oe property

Specifies whether the player has won.
public bool isWinner
Résultat bool

newDirection public_oe property

A new direction.
public DirectionProperties, newDirection
Résultat DirectionProperties,

newPosition public_oe property

A new position.
public Vector3 newPosition
Résultat Vector3