Method | Description | |
---|---|---|
Board ( Tetris.Game game, Texture2D &textures, |
||
CreateNewFigure ( ) : bool |
Create new shape in the game, if need it
|
|
DestroyLines ( ) : int |
Find, destroy and save lines's count
|
|
Draw ( GameTime gameTime ) : void | ||
FindDynamicFigure ( ) : void | ||
Initialize ( ) : void | ||
MoveFigureDown ( ) : void | ||
MoveFigureLeft ( ) : void | ||
MoveFigureRight ( ) : void | ||
RotateFigure ( ) : void | ||
SortingVector2 ( System.Vector2 &vector, bool sortByX, int a, int b ) : void |
Method | Description | |
---|---|---|
ClearBoardField ( int i, int j ) : void | ||
DrawFigureOnBoard ( System.Vector2 vector, int color ) : bool | ||
TryPlaceFigureOnBoard ( System.Vector2 vector ) : bool |
public Board ( Tetris.Game game, Texture2D &textures, |
||
game | Tetris.Game | |
textures | Texture2D | |
rectangles | ||
return | System |
public SortingVector2 ( System.Vector2 &vector, bool sortByX, int a, int b ) : void | ||
vector | System.Vector2 | |
sortByX | bool | |
a | int | |
b | int | |
return | void |