Пример #1
0
        public override void Load()
        {
            LetterManagerFactory.getFactory();

            /*ScoreFactory.getFactory.player_1.setPos(100, 100);
             * ScoreFactory.getFactory.player_2.setPos(400, 100);
             * ScoreFactory.getFactory.high_score.setPos(300, 900);*/
        }
Пример #2
0
        public StartGameState()
        {
            LetterManager manager = LetterManagerFactory.getFactory().createManager("SCORE<1>   HI-SCORE   SCORE<2>");

            manager.setPos(80, 950);

            /*manager = LetterManagerFactory.getFactory().createManager("HI-SCORE");
             * manager.setPos(350, 950);
             * manager = LetterManagerFactory.getFactory().createManager("SCORE<2>");
             * manager.setPos(600, 950);*/
            list = new LetterManagerList();
            ScoreFactory.getFactory.player_1.setPos(100, 900);
            ScoreFactory.getFactory.player_2.setPos(650, 900);
            ScoreFactory.getFactory.high_score.setPos(380, 900);
        }
Пример #3
0
 public ScoreController()
 {
     scoreManager = LetterManagerFactory.getFactory().createManager("000000");
 }