summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine.h b/src/engine.h
index 8ab8fb05..87cf1900 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -29,8 +29,8 @@
extern int camera_x, camera_y;
class Graphics;
-class Image;
class Map;
+class Network;
/**
* Game engine that does the main drawing.
@@ -41,7 +41,7 @@ class Engine
/**
* Constructor.
*/
- Engine();
+ Engine(Network *network);
/**
* Destructor.
@@ -56,7 +56,7 @@ class Engine
/**
* Sets the currently active map.
*/
- void changeMap(const std::string &mapName);
+ void changeMap(std::string mapName);
/**
* Performs engine logic.
@@ -77,7 +77,7 @@ class Engine
bool mShowDebugPath;
Map *mCurrentMap;
- Image *attackTarget;
+ Network *mNetwork;
};
extern Engine *engine;