Permalink
Browse files

Remove redundant explicit types.

  • Loading branch information...
1 parent d8ad5a6 commit c95778b38c37aac824fc47ae873ceadd26120e44 @djcsdy committed Jun 2, 2012
Showing with 6 additions and 6 deletions.
  1. +6 −6 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) {

0 comments on commit c95778b

Please sign in to comment.