#include "command.h" #include "game.h" Command::~Command(){} Nop::~Nop(){} void Nop::execute( GameState &game ){ } // Window commands WindowClose::~WindowClose(){} void WindowClose::execute( GameState &game ){ game.close(); } WindowFocus::~WindowFocus(){} void WindowFocus::execute( GameState &game ){ game.resume(); } WindowUnFocus::~WindowUnFocus(){} void WindowUnFocus::execute( GameState &game ){ game.pause(); } // Keyboard commands