PlayerNumber is a simple, regular data structure, and is depended on

by lower level things (eg. InputMapper).  However, concepts like
"joined players" and "human players" is a high-level, GAMESTATE
concept, and engine stuff shouldn't depend on that.  Move the
GameState-depending stuff into GameState.  Move
IsAnyPlayerUsingMemoryCard as well (and rename to HumanPlayer),
to fix MemoryCardManager dep.
This commit is contained in:
Glenn Maynard
2006-11-21 01:32:05 +00:00
parent 54de64a524
commit 70d2d0dbc7
6 changed files with 68 additions and 68 deletions
+1
View File
@@ -71,6 +71,7 @@
#include "ScreenDimensions.h"
#include "Foreach.h"
#include "ActorUtil.h"
#include "GameState.h" // XXX: bad dep
ScreenManager* SCREENMAN = NULL; // global and accessable from anywhere in our program