Added iteration logic.

This commit is contained in:
Ilkka Seppala
2015-05-08 21:01:06 +03:00
parent 41b818771e
commit fba664ba49
5 changed files with 44 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
package com.iluwatar;
public class FlamingAsteroid extends Meteoroid {
public FlamingAsteroid(int left, int top, int right, int bottom) {
super(left, top, right, bottom);
setOnFire(true);
}
}