C# 클래스 PrevTetris

상속: MonoBehaviour
파일 보기 프로젝트 열기: DRMold/HungryHungryTetris

공개 프로퍼티들

프로퍼티 타입 설명
BLKFALLSPEED float
MAX_ALLOWED_CYCLES_EMPTY int
NXTBLKSPAWNTIME float
PowerBar bool
UI_Score Text
blkFallSpeed float
block Transform
board ].int[
gameOverHeight int
nxtBlkSpawnTime float
playerNum int
qPreview ].int[
rot KeyCode
shapeQueue Queue
spawn bool

공개 메소드들

메소드 설명
AddToQueue ( int shape ) : void
CheckDrag ( Vector3 cursorPos ) : void
CheckRow ( int y ) : void
FWithMats ( ) : void
GenBoard ( ) : void
GenBottomAndMoveShapesUp ( ) : void
GenQueue ( ) : void
MoveDown ( ) : void
Rotate ( ) : void
SetCubePositions ( Vector3 piv, List cubePosList, Material mat ) : void
SetMats ( ) : void
SetPowerBarPositions ( Vector3 piv, List cubePosList ) : void
SetQueuePositions ( List cubePosList, Material mat ) : void
SpawnShape ( ) : void
Start ( ) : void
Update ( ) : void
destroyQueue ( ) : void
genPowerBar ( int j ) : void
populateQueue ( ) : void
slowDown ( ) : void
speedUp ( ) : void

비공개 메소드들

메소드 설명
CheckMove ( ) : bool
CheckRotate ( ) : bool
CheckUserMove ( float moveAmount ) : bool
GenBlock ( Vector3 pos, Material mat ) : Transform
OnDisable ( ) : void
OnEnable ( ) : void
Wait ( ) : IEnumerator
WaitMoveDown ( ) : IEnumerator
pressedHandler ( object sender, System e ) : void
resetSpeed ( ) : void
tappedHandler ( object sender, System e ) : void
transformHandler ( object sender, System e ) : void

메소드 상세

AddToQueue() 공개 메소드

public AddToQueue ( int shape ) : void
shape int
리턴 void

CheckDrag() 공개 메소드

public CheckDrag ( Vector3 cursorPos ) : void
cursorPos Vector3
리턴 void

CheckRow() 공개 메소드

public CheckRow ( int y ) : void
y int
리턴 void

FWithMats() 공개 메소드

public FWithMats ( ) : void
리턴 void

GenBoard() 공개 메소드

public GenBoard ( ) : void
리턴 void

GenBottomAndMoveShapesUp() 공개 메소드

public GenBottomAndMoveShapesUp ( ) : void
리턴 void

GenQueue() 공개 메소드

public GenQueue ( ) : void
리턴 void

MoveDown() 공개 메소드

public MoveDown ( ) : void
리턴 void

Rotate() 공개 메소드

public Rotate ( ) : void
리턴 void

SetCubePositions() 공개 메소드

public SetCubePositions ( Vector3 piv, List cubePosList, Material mat ) : void
piv Vector3
cubePosList List
mat Material
리턴 void

SetMats() 공개 메소드

public SetMats ( ) : void
리턴 void

SetPowerBarPositions() 공개 메소드

public SetPowerBarPositions ( Vector3 piv, List cubePosList ) : void
piv Vector3
cubePosList List
리턴 void

SetQueuePositions() 공개 메소드

public SetQueuePositions ( List cubePosList, Material mat ) : void
cubePosList List
mat Material
리턴 void

SpawnShape() 공개 메소드

public SpawnShape ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

destroyQueue() 공개 메소드

public destroyQueue ( ) : void
리턴 void

genPowerBar() 공개 메소드

public genPowerBar ( int j ) : void
j int
리턴 void

populateQueue() 공개 메소드

public populateQueue ( ) : void
리턴 void

slowDown() 공개 메소드

public slowDown ( ) : void
리턴 void

speedUp() 공개 메소드

public speedUp ( ) : void
리턴 void

프로퍼티 상세

BLKFALLSPEED 공개적으로 정적으로 프로퍼티

public static float BLKFALLSPEED
리턴 float

MAX_ALLOWED_CYCLES_EMPTY 공개적으로 프로퍼티

public int MAX_ALLOWED_CYCLES_EMPTY
리턴 int

NXTBLKSPAWNTIME 공개적으로 정적으로 프로퍼티

public static float NXTBLKSPAWNTIME
리턴 float

PowerBar 공개적으로 프로퍼티

public bool PowerBar
리턴 bool

UI_Score 공개적으로 프로퍼티

public Text UI_Score
리턴 Text

blkFallSpeed 공개적으로 프로퍼티

public float blkFallSpeed
리턴 float

block 공개적으로 프로퍼티

public Transform block
리턴 Transform

board 공개적으로 프로퍼티

public int[,] board
리턴 ].int[

gameOverHeight 공개적으로 프로퍼티

public int gameOverHeight
리턴 int

nxtBlkSpawnTime 공개적으로 프로퍼티

public float nxtBlkSpawnTime
리턴 float

playerNum 공개적으로 프로퍼티

public int playerNum
리턴 int

qPreview 공개적으로 프로퍼티

public int[,] qPreview
리턴 ].int[

rot 공개적으로 프로퍼티

public KeyCode rot
리턴 KeyCode

shapeQueue 공개적으로 프로퍼티

public Queue shapeQueue
리턴 Queue

spawn 공개적으로 프로퍼티

public bool spawn
리턴 bool