[ Launch: An inlet to Tributary ] 4550129 by georules[ Launch: An inlet to Tributary ] 4548638 by zeffii[ Launch: An inlet to Tributary ] 4547472 by zeffii[ Launch: An inlet to Tributary ] 4545400 by enjalot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var inherits = require('inherits'); | |
var Game = require('crtrdg-gameloop'); | |
var Entity = require('crtrdg-entity'); | |
var Keyboard = require('crtrdg-keyboard'); | |
inherits(Player, Entity); | |
function Player(options){ | |
this.position = { | |
x: options.position.x, |