public GameEventHandler(GameActivity activity, List <gameevent> archievedEvents) { this.activity = activity; this.archievedEvents = archievedEvents; time = activity.getTime(); }
public void checkEvents() { time = activity.getTime(); if (time > 100000) { activity.getTimer().Stop(); } activity.RunOnUiThread(() => { rnd = new Random(); spawnWeapon(); spawnBees(); spawnSpiders(); spawnBird(); }); }