Design an InputManager for a game engine (e.g.,
Dragonfly).
Use an Object-Oriented approach.
Assume you have the base Manager class:
class InputManager : Manager {
// Attributes
private:
// Methods
public:
};
Class questions:
What state does the InputManager need to keep track of? So, what attributes does it need?
What methods are needed?
What happens when the InputManager starts up? Shuts
down?
What happens when the InputManager gets input?
Provide an example.
What other classes need to be designed for the InputManager? (Hint: think of your answer to #3)
(None - doing this together)
Happy input managing!
– Mark