mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 12:58:37 +00:00
18 lines
309 B
Java
18 lines
309 B
Java
package com.iluwatar.creature;
|
|
|
|
import com.iluwatar.property.Color;
|
|
import com.iluwatar.property.Movement;
|
|
import com.iluwatar.property.Size;
|
|
|
|
/**
|
|
*
|
|
* Dragon creature.
|
|
*
|
|
*/
|
|
public class Dragon extends AbstractCreature {
|
|
|
|
public Dragon() {
|
|
super("Dragon", Size.LARGE, Movement.FLYING, Color.RED);
|
|
}
|
|
}
|