From 1d95fa92fb867ffaf2509d278561f720c153fbcc Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 5 Mar 2018 17:45:00 +0100 Subject: [PATCH] Update: impac-snake-loaded (2oppg7ptas.js) 560 bytes modified --- 2oppg7ptas.js | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/2oppg7ptas.js b/2oppg7ptas.js index e4a8439..2f3ddbb 100644 --- a/2oppg7ptas.js +++ b/2oppg7ptas.js @@ -11,25 +11,6 @@ if (!this.initialized) { this.initialized = true; } -ig.System.inject({ - init : function( canvasId, fps, width, height, scale ) { - this.fps = fps; - - this.clock = new ig.Timer(); - this.canvas = GameLib.EntityManager.Instance.findComponentById(canvasId).instance; - this.resize( width, height, scale ); - this.context = this.canvas.getContext('2d'); - - this.getDrawPos = ig.System.drawMode; - - // Automatically switch to crisp scaling when using a scale - // other than 1 - if( this.scale != 1 ) { - ig.System.scaleMode = ig.System.SCALE.CRISP; - } - ig.System.scaleMode( this.canvas, this.context ); - } -}) ig.module( 'game.impact-test'