C# Class StartCase, PuzzleGameProject

Start case of the player on the TileMap
Inheritance: Element
Afficher le fichier Open project: Cedric-Paris/PuzzleGameProject Class Usage Examples

Méthodes publiques

Свойство Type Description
startDirection DirectionProperties,
startPlayer Player,

Méthodes publiques

Méthode Description
OnMouseUp ( ) : void

Raises the mouse up event. The StartDirection is changed and the animation of the Square too

Play ( ) : void

Create the player with the startDirection, and destroy the StartCase

Start ( ) : void

Start this instance. Set the player direction to the right

Method Details

OnMouseUp() public méthode

Raises the mouse up event. The StartDirection is changed and the animation of the Square too
public OnMouseUp ( ) : void
Résultat void

Play() public méthode

Create the player with the startDirection, and destroy the StartCase
public Play ( ) : void
Résultat void

Start() public méthode

Start this instance. Set the player direction to the right
public Start ( ) : void
Résultat void

Property Details

startDirection public_oe property

The direction that the player will start with, is changed each time the square is touched.
public DirectionProperties, startDirection
Résultat DirectionProperties,

startPlayer public_oe property

The entity (the player) that will be created by the method Play().
public Player, startPlayer
Résultat Player,