Skip to content

Instantly share code, notes, and snippets.

@Gerjo
Created October 23, 2013 14:22
Show Gist options
  • Save Gerjo/7119783 to your computer and use it in GitHub Desktop.
Save Gerjo/7119783 to your computer and use it in GitHub Desktop.
class actor {
x = 100;
y = 100;
rotate = 45 degrees;
scale = 2;
draw(renderer) {
renderer.drawrectangle(0, 0, 100, 100);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment