Files
AlathranWars/src/main/java/com/github/alathra/alathranwars/conflict/IAssociatedWar.java
T
darksaid98 b1a95ed011 refactor: prepare for raids
- Recode most classes
- Add phases to battles
- Pull updates from gradle-template-plugin
2024-09-21 10:37:15 +02:00

19 lines
489 B
Java

package com.github.alathra.alathranwars.conflict;
import com.github.alathra.alathranwars.conflict.war.War;
public interface IAssociatedWar {
/**
* Gets the associated war with this object from the war uuid
* @return the associated war
*/
War getWar();
/**
* Check whether a war is associated with this class
* @param war the war to compare with
* @return if the war is the one associated with this object
*/
boolean equals(War war);
}