Свойство | Тип | Описание | |
---|---|---|---|
X | int | ||
Y | int | ||
_board | _3D_Madness.Element[][] | ||
element | List |
||
model | List |
Метод | Описание | |
---|---|---|
Board ( Microsoft.Xna.Framework.Game g, Microsoft.Xna.Framework.Graphics.Texture2D txt1, Microsoft.Xna.Framework.Graphics.Texture2D txt2 ) : System | ||
CanIPutStone ( int x, int y, int edge ) : bool |
Funkcja sprawdza czy można postawić pionek na danej krawędzi w przypadku, gdy na elemenecie obok już stoi taki pionek na tej krawędzi
|
|
Draw ( |
||
MapMouseAndRandNewBlock ( GraphicsDevice g, |
||
RotationBlock ( ) : void | ||
Update ( |
Метод | Описание | |
---|---|---|
CheckBounds ( int x, int y, int textInd ) : bool | ||
CheckIfModel ( Point node, int szukanaKrawedz ) : bool | ||
FloodFill ( Point node, |
||
GenerateBoard ( ) : void | ||
checkForGameOver ( ) : void | ||
initBoard ( ) : void | ||
intersects ( Microsoft.Xna.Framework.Ray xRay, float vectorFirstX, float vectorFirstY, float vectorFirstZ, float vectorSecondX, float vectorSecondY, float vectorSecondZ ) : System.Boolean | ||
loadTexturesAt ( String folder ) : void | ||
rotateTexture ( int i, int j, Point a, Point b, Point c, Point d ) : void |
public Board ( Microsoft.Xna.Framework.Game g, Microsoft.Xna.Framework.Graphics.Texture2D txt1, Microsoft.Xna.Framework.Graphics.Texture2D txt2 ) : System | ||
g | Microsoft.Xna.Framework.Game | |
txt1 | Microsoft.Xna.Framework.Graphics.Texture2D | |
txt2 | Microsoft.Xna.Framework.Graphics.Texture2D | |
Результат | System |
public CanIPutStone ( int x, int y, int edge ) : bool | ||
x | int | |
y | int | |
edge | int | |
Результат | bool |
public Draw ( |
||
gameTime | ||
Результат | void |
public MapMouseAndRandNewBlock ( GraphicsDevice g, |
||
g | GraphicsDevice | |
effect | ||
camera | _3D_Madness.Camera | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |