Added ActionState to GraphicalGame.
commit5f2701493cf58eb4689af4c0a910405f065cbe06
authorPaolo Capriotti <p.capriotti@gmail.com>
Mon, 17 Sep 2007 21:33:33 +0000 (17 23:33 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Mon, 17 Sep 2007 21:34:39 +0000 (17 23:34 +0200)
tree54c143c2b1f865f9c614fba909dea8eb57640d12
parent2fa09a125d0e67880c9518a3eb15ff18771d0940
Added ActionState to GraphicalGame.

An ActionState object keeps track of what GUI actions are enabled for a game.
An observer inheriting ActionStateObserver can be registered to GraphicalGame
to be notified when the ActionState changes.
src/controllers/editgame.cpp
src/graphicalgame.cpp
src/graphicalgame.h