diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-03-16 20:37:42 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-03-16 20:37:42 +0100 |
commit | f4e7ec209ec70f855999668e58c23b20227da84d (patch) | |
tree | f7e53554aa25015bda05d6d5e6b1b46f3f03b646 /example/collision.cpp | |
parent | 4ed209d756c3cf719d8255c698d7988e85aa746a (diff) | |
download | termgl-f4e7ec209ec70f855999668e58c23b20227da84d.tar.gz |
Fixed examples #4
Diffstat (limited to 'example/collision.cpp')
-rw-r--r-- | example/collision.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/collision.cpp b/example/collision.cpp index 7759dae..f08ae4e 100644 --- a/example/collision.cpp +++ b/example/collision.cpp @@ -30,7 +30,7 @@ public: cc++; drawText(std::to_string(cc), {2,2}, _COL_RED); - drawPoint('Q', _pos, true, _COL_YELLOW); + drawPoint('Q', _pos, _COL_YELLOW); } virtual bool onCollisionActive(sPos _hit, int _passiveObject){ @@ -39,7 +39,7 @@ public: return true; } - virtual void onChar(unsigned char _c) { drawPoint(_c, {1,1},true, _COL_BLUE); } + virtual void onChar(unsigned char _c) { drawPoint(_c, {1,1}, _COL_BLUE); } private: int cc; int kc; |