mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
refactor: prepare for raids
- Recode most classes - Add phases to battles - Pull updates from gradle-template-plugin
This commit is contained in:
1 parent
a4440c9283
commit
b1a95ed011
105 files changed
+6941
-3296
No files matched your search
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
Reference in new issue
Block a user