C# Class StartCase, PuzzleGameProject

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

Public Properties

Property Type Description
startDirection DirectionProperties,
startPlayer Player,

Public Methods

Method 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 method

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

Play() public method

Create the player with the startDirection, and destroy the StartCase
public Play ( ) : void
return void

Start() public method

Start this instance. Set the player direction to the right
public Start ( ) : void
return 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
return DirectionProperties,

startPlayer public_oe property

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