示例#1
0
        ModelEntity InitiateLetter(int letter)
        {
            ModelEntity letterModel = new ModelEntity(Game, TheCamera, WordXNAModels[letter]);

            letterModel.Moveable   = false;
            letterModel.ModelScale = new Vector3(Scale);
            letterModel.PO.AddAsChildOf(this);

            return(letterModel);
        }
示例#2
0
        ModelEntity InitiateNumber(uint number)
        {
            if (number < 0)
            {
                number = 0;
            }

            ModelEntity digit = new ModelEntity(Game, TheCamera, NumberModels[number]);

            digit.Moveable   = false;
            digit.ModelScale = new Vector3(Scale);
            digit.PO.AddAsChildOf(this);

            return(digit);
        }
示例#3
0
 void RemoveNumber(ModelEntity numberE)
 {
     NumberEntities.Remove(numberE);
 }