예제 #1
0
        AModel InitiateLetter(int letter)
        {
            AModel letterModel = new AModel(Game);

            letterModel.SetModel(WordXNAModels[letter]);
            letterModel.Moveable   = false;
            letterModel.ModelScale = new Vector3(Scale);

            WordModels.Add(letterModel);

            return(WordModels.Last());
        }
예제 #2
0
        AModel InitiateNumber(int number)
        {
            AModel digit = new AModel(Game);

            if (number < 0)
            {
                number = 0;
            }

            digit.SetModel(NumberXNAModels[number]);
            digit.Moveable   = false;
            digit.ModelScale = new Vector3(Scale);

            NumberModels.Add(digit);

            return(NumberModels.Last());
        }