Added UnitXrossConverter
This commit is contained in:
parent
84738628af
commit
d97076d436
159 changed files with 9197 additions and 96 deletions
|
|
@ -10,7 +10,7 @@ public class WaterShip {
|
|||
|
||||
private String name;
|
||||
private String engine;
|
||||
private List<WaterShipOcean> shipOceans = new ArrayList<>();
|
||||
private List<WaterShipWarp> warpSeas = new ArrayList<>();
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
|
|
@ -28,17 +28,17 @@ public class WaterShip {
|
|||
this.engine = engine;
|
||||
}
|
||||
|
||||
public List<WaterShipOcean> getShipOceans() {
|
||||
return shipOceans;
|
||||
public List<WaterShipWarp> getWarpSeas() {
|
||||
return warpSeas;
|
||||
}
|
||||
|
||||
public void setShipOcean(List<WaterShipOcean> shipOceans) {
|
||||
for (WaterShipOcean shipOcean:shipOceans) {
|
||||
addShipOcean(shipOcean);
|
||||
public void setWarpSeas(List<WaterShipWarp> shipOceans) {
|
||||
for (WaterShipWarp shipOcean:shipOceans) {
|
||||
addWarpSea(shipOcean);
|
||||
}
|
||||
}
|
||||
|
||||
public void addShipOcean(WaterShipOcean shipSea) {
|
||||
shipOceans.add(shipSea);
|
||||
public void addWarpSea(WaterShipWarp shipSea) {
|
||||
warpSeas.add(shipSea);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,14 +3,14 @@ package love.distributedrebirth.warpme.ship;
|
|||
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||
|
||||
@BãßBȍőnAuthorInfoʸᴰ(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class WaterShipOcean {
|
||||
public class WaterShipWarp {
|
||||
|
||||
private String sea;
|
||||
|
||||
public WaterShipOcean() {
|
||||
public WaterShipWarp() {
|
||||
}
|
||||
|
||||
public WaterShipOcean(String sea) {
|
||||
public WaterShipWarp(String sea) {
|
||||
setSea(sea);
|
||||
}
|
||||
|
||||
|
|
@ -11,10 +11,10 @@
|
|||
parentClass="love.distributedrebirth.warpme.ship.WaterDevice"
|
||||
childClass="love.distributedrebirth.warpme.ship.WaterShip"
|
||||
addMethod="buildShip" getMethod="theShip" />
|
||||
<eld:classBindingHandler id="WaterShip-WaterShipOcean"
|
||||
<eld:classBindingHandler id="WaterShip-WaterShipWarp"
|
||||
parentClass="love.distributedrebirth.warpme.ship.WaterShip"
|
||||
childClass="love.distributedrebirth.warpme.ship.WaterShipOcean"
|
||||
addMethod="addShipOcean" getMethod="getShipOceans" />
|
||||
childClass="love.distributedrebirth.warpme.ship.WaterShipWarp"
|
||||
addMethod="addWarpSea" getMethod="getWarpSeas" />
|
||||
|
||||
<eld:namespace
|
||||
uri="http://wrap-ship.x4o.distributedrebirth.love/xml/ns/warp-ship-root"
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
<eld:attribute id="name" writeOrder="0"/>
|
||||
<eld:attribute id="engine" writeOrder="1"/>
|
||||
</eld:element>
|
||||
<eld:element tag="ocean"
|
||||
objectClass="love.distributedrebirth.warpme.ship.WaterShipOcean" />
|
||||
<eld:element tag="warp"
|
||||
objectClass="love.distributedrebirth.warpme.ship.WaterShipWarp" />
|
||||
</eld:namespace>
|
||||
</root:module>
|
||||
Loading…
Add table
Add a link
Reference in a new issue