Package g54327.humbug.model.Animals
Class Ladybird
- java.lang.Object
-
- g54327.humbug.model.Animals.Animal
-
- g54327.humbug.model.Animals.Ladybird
-
- All Implemented Interfaces:
Terrestrial
public class Ladybird extends Animal implements Terrestrial
Ladybird Class- Since:
- 0.2.0
- Version:
- 2.0.0
- Author:
- Andrew SASSOYE
-
-
Field Summary
-
Fields inherited from class g54327.humbug.model.Animals.Animal
onStar, positionOnBoard
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Position
move(Board board, Direction direction, Animal[] animals)
Move animal in given directionString
toString()
toString of Ladybird for View-
Methods inherited from class g54327.humbug.model.Animals.Animal
getAnimal, getPositionOnBoard, isOnStar, setOnStar, setPositionOnBoard
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface g54327.humbug.model.Animals.Type.Terrestrial
step
-
-