public static DiceTexture LoadDiceTexture(string fileName, EnumDiceTextureType diceTextureType, int faceNumber) { Texture texture = LoadTexture(fileName); return(new DiceTexture(texture.Id, texture.Width, texture.Height, diceTextureType, faceNumber)); }
public DiceTexture(int id, int width, int height, EnumDiceTextureType diceTextureType, int faceNumber) : base(id, width, height) { this.TextureTypeType = diceTextureType; this.FaceNumber = faceNumber; }