Created
July 20, 2017 08:50
-
-
Save Hunachi/f15e7df3cc2c7182beb72531d59daf77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void Main() | |
{ | |
int count = 0; | |
Font font(50); | |
Point pos(0, 200); | |
while (System::Update()) | |
{ | |
if (Input::MouseL.clicked) { | |
++count; | |
} | |
if (Input::KeyZ.clicked) { | |
--count; | |
} | |
font(count).draw(); | |
Point delta = Mouse::Delta(); | |
//font(delta).draw(pos); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment