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.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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