메소드 | 설명 | |
---|---|---|
Clone ( ) : |
Returns a copy of the Dice
|
|
Dice ( EDice color, int sides, Microsoft.Xna.Framework.Graphics.Texture2D textures ) : System |
Initializes a new instance of the Dice class.
|
|
Equals ( object obj ) : bool | ||
RollDice ( ) : void |
Rolls the dice to a random side
|
public Dice ( EDice color, int sides, Microsoft.Xna.Framework.Graphics.Texture2D textures ) : System | ||
color | EDice | /// The color. /// |
sides | int | /// The sides. /// |
textures | Microsoft.Xna.Framework.Graphics.Texture2D | /// The textures. /// |
리턴 | System |