Description: "StarCraft" role design and design all kinds of race:
There a ll races interface methods:
Methods-fight, move
Terran unique interface methods: Method-repair
Zerg unique interface methods: Method-recover
Creature abstract class: Attribute-life method-fight (concrete realization)
Terran specific class (there are other unique attributes and methods)
Zerg concrete class (there are other unique attributes and methods) In addition, XRace race class method interfaces: repair, recover
XRace specific class (there are other unique attributes and methods)
To Search:
File list (Check if you may need any files):
Part5_2
.......\Creature.java
.......\RaceWay.java
.......\Terran.java
.......\Test.java
.......\XRace.java
.......\Zerg.java