C# 클래스 StartCase, PuzzleGameProject

Start case of the player on the TileMap
상속: Element
파일 보기 프로젝트 열기: Cedric-Paris/PuzzleGameProject 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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,