From c95778b38c37aac824fc47ae873ceadd26120e44 Mon Sep 17 00:00:00 2001 From: Daniel Cassidy Date: Sat, 2 Jun 2012 18:32:18 +0100 Subject: [PATCH] Remove redundant explicit types. --- src/hopscotch/engine/Engine.hx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/hopscotch/engine/Engine.hx b/src/hopscotch/engine/Engine.hx index e6d49b0..57a7afd 100644 --- a/src/hopscotch/engine/Engine.hx +++ b/src/hopscotch/engine/Engine.hx @@ -120,7 +120,7 @@ class Engine { systemTimeMsAverage = new RollingAverage(performanceSamplesCount); } - public function start():Void { + public function start() { if (!running) { running = true; startTime = Math.floor(timeSource.getTime() - @@ -132,7 +132,7 @@ class Engine { } } - public function stop():Void { + public function stop() { if (running) { running = false; @@ -144,7 +144,7 @@ class Engine { } } - function onEnterFrame(event:Event):Void { + function onEnterFrame(event:Event) { if (!running) { return; } @@ -213,7 +213,7 @@ class Engine { } } - function update(frame:Int):Void { + function update(frame:Int) { if (playfield != previousPlayfield) { if (previousPlayfield != null) { previousPlayfield.end(); @@ -253,13 +253,13 @@ class Engine { } } - function updateGraphic(frame:Int):Void { + function updateGraphic(frame:Int) { if (playfield != null && playfield.active) { playfield.updateGraphic(frame, screenSize); } } - function render():Void { + function render() { targetBitmapData.fillRect(targetBitmapData.rect, 0x000000); if (console == null || !console.enabled) {