Property | Type | Description | |
---|---|---|---|
X | int | ||
Y | int | ||
_board | _3D_Madness.Element[][] | ||
element | List |
||
model | List |
Method | Description | |
---|---|---|
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 ( |
Method | Description | |
---|---|---|
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 | |
return | System |
public CanIPutStone ( int x, int y, int edge ) : bool | ||
x | int | |
y | int | |
edge | int | |
return | bool |
public Draw ( |
||
gameTime | ||
return | void |
public MapMouseAndRandNewBlock ( GraphicsDevice g, |
||
g | GraphicsDevice | |
effect | ||
camera | _3D_Madness.Camera | |
return | void |
public Update ( |
||
gameTime | ||
return | void |