On commence les classes de base.
This commit is contained in:
parent
18d60590d6
commit
dbf4114857
4
src/heroes/Hero.java
Normal file
4
src/heroes/Hero.java
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
package heroes;
|
||||||
|
|
||||||
|
public class Hero {
|
||||||
|
}
|
||||||
6
src/heroes/jobs/Job.java
Normal file
6
src/heroes/jobs/Job.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package heroes.jobs;
|
||||||
|
|
||||||
|
import heroes.Hero;
|
||||||
|
|
||||||
|
public abstract class Job extends Hero {
|
||||||
|
}
|
||||||
6
src/heroes/races/Race.java
Normal file
6
src/heroes/races/Race.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package heroes.races;
|
||||||
|
|
||||||
|
import heroes.Hero;
|
||||||
|
|
||||||
|
public abstract class Race extends Hero {
|
||||||
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
package items;
|
package items;
|
||||||
|
|
||||||
abstract class Item {
|
public abstract class Item {
|
||||||
}
|
}
|
||||||
|
|||||||
6
src/items/armors/Armor.java
Normal file
6
src/items/armors/Armor.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package items.armors;
|
||||||
|
|
||||||
|
import items.Item;
|
||||||
|
|
||||||
|
abstract class Armor extends Item {
|
||||||
|
}
|
||||||
6
src/items/consummables/Consummable.java
Normal file
6
src/items/consummables/Consummable.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package items.consummables;
|
||||||
|
|
||||||
|
import items.Item;
|
||||||
|
|
||||||
|
public abstract class Consummable extends Item {
|
||||||
|
}
|
||||||
6
src/items/helmets/Helmet.java
Normal file
6
src/items/helmets/Helmet.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package items.helmets;
|
||||||
|
|
||||||
|
import items.Item;
|
||||||
|
|
||||||
|
public abstract class Helmet extends Item {
|
||||||
|
}
|
||||||
6
src/items/shields/Shield.java
Normal file
6
src/items/shields/Shield.java
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
package items.shields;
|
||||||
|
|
||||||
|
import items.Item;
|
||||||
|
|
||||||
|
public abstract class Shield extends Item{
|
||||||
|
}
|
||||||
11
untitled.iml
11
untitled.iml
@ -1,11 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<module type="JAVA_MODULE" version="4">
|
|
||||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
||||||
<exclude-output />
|
|
||||||
<content url="file://$MODULE_DIR$">
|
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
|
||||||
</content>
|
|
||||||
<orderEntry type="inheritedJdk" />
|
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
|
||||||
</component>
|
|
||||||
</module>
|
|
||||||
Loading…
Reference in New Issue
Block a user