summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authortom <tom@ground-control>2015-11-21 15:05:47 -0600
committertom <tom@ground-control>2015-11-21 15:05:47 -0600
commitf198372b1c9f5cccdfbfc6cf57d8716a53be5bc8 (patch)
tree56cec43c262d8c6ccb401f2d278444920295ec43 /src/main.cpp
parent7f79b2e216617ff74ebd41ac02663b20ef3d0904 (diff)
some cleaning and collision fully implemented
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2a33d65..df5a563 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -7,8 +7,11 @@ int main()
Frame map("scripts/map.txt",0,0);
Frame view(map,s.getHeight(),s.getWidth(),0,0);
List L;
-
- Character cursor('X',3,map.getHeight()/2,map.getWidth()/2);
+
+ Location l;
+ l.x =150;
+ l.y =150;
+ Character cursor('X',3,l);
map.fillWindow();
L.draw(map.getWin());