Added GameEvent class, and fixed update delta time;