aboutsummaryrefslogtreecommitdiff
path: root/example/test.cpp
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-20 02:00:56 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-03-20 02:00:56 +0100
commit0f69b2f47a87c58ea01c4a4ae4157b4ee92a9d89 (patch)
treea7906d83da37743a55c7f964538d506662d72228 /example/test.cpp
parenta8a1f8236fff67cbae595600abc7a9dfbf6e231d (diff)
downloadtermgl-0f69b2f47a87c58ea01c4a4ae4157b4ee92a9d89.tar.gz
Added forced screen size and mute to cRender for testing
Diffstat (limited to 'example/test.cpp')
-rw-r--r--example/test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/test.cpp b/example/test.cpp
index 4d9af96..ca6f38e 100644
--- a/example/test.cpp
+++ b/example/test.cpp
@@ -43,6 +43,9 @@ int main()
cObjectHandler screen(&render);
cInput input;
+ render.forceScreenSize({20,20});
+ render.mute(true);
+
ball aball;
edge edgeLeft(1,10);
edge edgeRight(1,10);