Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var testControl = function () {
- UI.makeControl(this);
- this.quad = new Quad();
- this.quad.setPosition(160, 20);
- this.quad.setSize(256, 256);
- this.quad.setTexture("tileset\\ashenvale\\ashenvaleferns.blp");
- }
- testControl.prototype.onDraw = function () {
- this.quad.draw();
- }
Advertisement
Add Comment
Please, Sign In to add comment