contextutils.h File Reference

#include "actions/context.h"
#include "replaymapdisplay.h"

Include dependency graph for contextutils.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ReplayContext

Functions

ReplayContext createFollowerContext (GameMap *gamemap)
 creates a context that will move the map so that any action can be seen by the user
Context createContext (GameMap *gamemap)


Function Documentation

Context createContext ( GameMap gamemap  ) 

Definition at line 40 of file contextutils.cpp.

ReplayContext createFollowerContext ( GameMap gamemap  ) 

creates a context that will move the map so that any action can be seen by the user

Definition at line 26 of file contextutils.cpp.

References Context::actingPlayer, Context::actionContainer, GameMap::actions, GameMap::actplayer, Context::gamemap, GameMap::getPlayer(), GameMap::getPlayerView(), Context::parentAction, and Context::viewingPlayer.

Referenced by runOpenTasks().


Generated on Mon May 21 01:33:33 2012 for Advanced Strategic Command by  doxygen 1.5.1