Class GuaranteeRelation
java.lang.Object
net.chen.legacyLand.nation.diplomacy.GuaranteeRelation
外交保卫关系
-
Constructor Summary
ConstructorsConstructorDescriptionGuaranteeRelation(String guarantorNation, String protectedNation) GuaranteeRelation(String guarantorNation, String protectedNation, long establishedTime, long lastMaintenanceTime, boolean active) 用于从数据库加载的构造函数 -
Method Summary
Modifier and TypeMethodDescriptionboolean检查是否涉及指定国家boolean检查是否需要支付维持费用(每小时)void更新维持费用支付时间
-
Constructor Details
-
GuaranteeRelation
-
GuaranteeRelation
-
-
Method Details
-
involves
检查是否涉及指定国家 -
needsMaintenance
public boolean needsMaintenance()检查是否需要支付维持费用(每小时) -
updateMaintenanceTime
public void updateMaintenanceTime()更新维持费用支付时间
-