DrunkenMan/scripts/objects/Bar.js
2014-03-08 14:21:29 +01:00

19 lines
367 B
JavaScript
Executable file

Debug.log("Bar", "module loaded");
/*
* class for the bar
*/
function Bar () {
Debug.log("Bar", "instance created");
this.position = new Position();
this.rotation = 0;
this.image = new Image();
this.image.src = "images/bar.png";
}
// image for graphics
Bar.prototype.image;
// rotaion for graphics
Bar.prototype.rotation;
// position
Bar.prototype.position;