mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-12 04:13:54 +00:00
Organized into packages.
This commit is contained in:
1 parent
0f8c5f9263
commit
cd581154ac
22 files changed
+117
-62
No files matched your search
@@ -0,0 +1,12 @@
|
||||
package com.iluwatar.creature;
|
||||
|
||||
import com.iluwatar.property.Color;
|
||||
import com.iluwatar.property.Movement;
|
||||
import com.iluwatar.property.Size;
|
||||
|
||||
public class Dragon extends AbstractCreature {
|
||||
|
||||
public Dragon() {
|
||||
super("Dragon", Size.LARGE, Movement.FLYING, Color.RED);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user