-// $Id: script_manager.hpp 3379 2006-04-20 18:44:10Z matzebraun $
+// $Id$
//
// SuperTux
// Copyright (C) 2006 Matthias Braun <matze@braunis.de>
static TimeScheduler* instance;
+ void set_pause(bool paused);
+
private:
struct ScheduleEntry {
/// weak reference to the squirrel vm object
return wakeup_time > other.wakeup_time;
}
};
-
+
typedef std::vector<ScheduleEntry> ScheduleHeap;
ScheduleHeap schedule;
+ bool paused;
+ float last_update;
+ float internal_time;
};
}
#endif
-