C# Класс StartCase, PuzzleGameProject

Start case of the player on the TileMap
Наследование: Element
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
startDirection DirectionProperties,
startPlayer Player,

Открытые методы

Метод Описание
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

Описание методов

OnMouseUp() публичный Метод

Raises the mouse up event. The StartDirection is changed and the animation of the Square too
public OnMouseUp ( ) : void
Результат void

Play() публичный Метод

Create the player with the startDirection, and destroy the StartCase
public Play ( ) : void
Результат void

Start() публичный Метод

Start this instance. Set the player direction to the right
public Start ( ) : void
Результат void

Описание свойств

startDirection публичное свойство

The direction that the player will start with, is changed each time the square is touched.
public DirectionProperties, startDirection
Результат DirectionProperties,

startPlayer публичное свойство

The entity (the player) that will be created by the method Play().
public Player, startPlayer
Результат Player,