A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
KSystem.hh
1#pragma once
2
3#include <Common.hh>
4
7public:
8 virtual ~KSystem() {}
9
11 virtual void init() = 0;
12
14 virtual void calc() = 0;
15
18 virtual bool run() = 0;
19
24 virtual void parseOptions(int argc, char **argv) = 0;
25
26protected:
27 static KSystem *s_instance;
28};
This header houses common data types such as our integral types and enums.
An interface for ensuring certain structures and classes are destroyed with the heap.
Definition Disposer.hh:11
Base interface for a Kinoko system.
Definition KSystem.hh:6
virtual void calc()=0
Executes a frame.
virtual void init()=0
Initializes the system.
virtual void parseOptions(int argc, char **argv)=0
Parses non-generic command line options.
virtual bool run()=0
Executes a run.