Skip to content

Instantly share code, notes, and snippets.

@Hunachi
Created July 20, 2017 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hunachi/f15e7df3cc2c7182beb72531d59daf77 to your computer and use it in GitHub Desktop.
Save Hunachi/f15e7df3cc2c7182beb72531d59daf77 to your computer and use it in GitHub Desktop.
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