add start of ship controls

This commit is contained in:
Asraelite 2016-03-22 00:42:48 +00:00
parent 1027d980c1
commit fcfe1e8790
10 changed files with 131 additions and 2 deletions

View file

@ -5,6 +5,8 @@ function Renderer() {
var context = canvas.getContext('2d');
var pallet = new Pallet();
this.canvas = canvas;
this.render = function(state) {
if (state == 'connecting' || state == 'disconnected') {
pallet.clear();