123456789101112131415 |
- function Camera() {
- this.position = {x: 0, y: 0};
- this.viewBox = {x: 100, y: 100, width: 600, height: 400};
- this.init = function(canvas) {
- }
-
- this.update = function(canvas, delta) {
- //this.followPlayer(player, delta);
- }
- this.handleResize = function(canvas) {
- }
- };
|