aboutsummaryrefslogtreecommitdiff
path: root/example/pong.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-07 02:41:26 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-07 02:41:26 +0100
commit931de7809213903c2a349c93b049afebda2b0242 (patch)
treeed7aa07802bd559e9213ae7c6e0e5a95fa8f2230 /example/pong.cpp
parent99249ba62bcdfbe300c6ab7db02088d8d1e118c4 (diff)
downloadtermgl-931de7809213903c2a349c93b049afebda2b0242.tar.gz
Deactivated color to fix #5 temporarily
Diffstat (limited to 'example/pong.cpp')
-rw-r--r--example/pong.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/example/pong.cpp b/example/pong.cpp
index ff84639..093338c 100644
--- a/example/pong.cpp
+++ b/example/pong.cpp
@@ -75,16 +75,16 @@ int main()
edget edgeBottom;
int iEdgeTop = screen.createObject(&edgeTop);
- screen.moveObject(iEdgeTop, {2,0}, _MOVE_FORCE_ABSOLUTE);
+ screen.moveObject(iEdgeTop, {0,0}, _MOVE_FORCE_ABSOLUTE);
int iEdgeBottom = screen.createObject(&edgeBottom);
- screen.moveObject(iEdgeBottom, {0,21}, _MOVE_FORCE_ABSOLUTE);
+ screen.moveObject(iEdgeBottom, {0,20}, _MOVE_FORCE_ABSOLUTE);
int iEdgeLeft = screen.createObject(&edgeLeft);
screen.moveObject(iEdgeLeft, {0,0}, _MOVE_FORCE_ABSOLUTE);
int iEdgeRight = screen.createObject(&edgeRight);
- screen.moveObject(iEdgeRight, {43,0}, _MOVE_FORCE_ABSOLUTE);
+ screen.moveObject(iEdgeRight, {40,0}, _MOVE_FORCE_ABSOLUTE);
int iAball= screen.createObject(&aball);
@@ -138,7 +138,7 @@ int main()
}
}
- //screen.moveObject(iAball, aball.getV(), _MOVE_RELATIVE);
+ screen.moveObject(iAball, aball.getV(), _MOVE_RELATIVE);
screen.write();
render.render();