Ejemplo n.º 1
0
        public GameEventHandler(GameActivity activity, List <gameevent> archievedEvents)
        {
            this.activity        = activity;
            this.archievedEvents = archievedEvents;

            time = activity.getTime();
        }
Ejemplo n.º 2
0
        public void checkEvents()
        {
            time = activity.getTime();

            if (time > 100000)
            {
                activity.getTimer().Stop();
            }

            activity.RunOnUiThread(() =>
            {
                rnd = new Random();
                spawnWeapon();
                spawnBees();
                spawnSpiders();
                spawnBird();
            });
        }