Ejemplo n.º 1
0
        public override void IncreaseDifficulty(int score)
        {
            FruitsPickerGameManager temp = _gameManager as FruitsPickerGameManager;

            if (temp.Time < 10)
            {
                temp.MaxActiveSpawners   = 4;
                temp.SelfDestructionTime = 1.25F;
                temp.MinWaitTime         = 0.25F;
                temp.MaxWaitTime         = 0.6F;
            }
            else if (temp.Time < 30)
            {
                temp.MaxActiveSpawners   = 4;
                temp.SelfDestructionTime = 1.75F;
                temp.MinWaitTime         = 0.5F;
                temp.MaxWaitTime         = 0.8F;
            }
            else if (temp.Time < 45)
            {
                temp.MaxActiveSpawners   = 3;
                temp.SelfDestructionTime = 2.5F;
                temp.MinWaitTime         = 1F;
                temp.MaxWaitTime         = 1.5F;
            }
        }
Ejemplo n.º 2
0
        public override void InitializeSettings()
        {
            FruitsPickerGameManager temp = _gameManager as FruitsPickerGameManager;

            temp.MinWaitTime         = 1.2F;
            temp.MaxWaitTime         = 1.7F;
            temp.SelfDestructionTime = 3F;
            temp.MaxActiveSpawners   = 2;
            temp.MaxActiveFruits     = 5;
            temp.Time = 60;
        }
Ejemplo n.º 3
0
 public void Init(GameManager manager)
 {
     _gameManager = (manager as FruitsPickerGameManager);
 }