Skip to content

Commit 35e3d83

Browse files
committed
Added some creatures.
1 parent 6f55b91 commit 35e3d83

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.iluwatar;
2+
3+
public class KillerBee extends AbstractCreature {
4+
5+
public KillerBee() {
6+
super("KillerBee", Size.SMALL, Movement.FLYING, Color.LIGHT);
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.iluwatar;
2+
3+
public class Shark extends AbstractCreature {
4+
5+
public Shark() {
6+
super("Shark", Size.NORMAL, Movement.SWIMMING, Color.LIGHT);
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package com.iluwatar;
2+
3+
public class Troll extends AbstractCreature {
4+
5+
public Troll() {
6+
super("Troll", Size.LARGE, Movement.WALKING, Color.DARK);
7+
}
8+
}

0 commit comments

Comments
 (0)