mirror of
https://github.com/OMGeeky/ATCS.git
synced 2026-02-15 22:04:29 +01:00
extract linkIcon
This commit is contained in:
@@ -30,7 +30,12 @@ public final class Common {
|
||||
linkConditions(effect.conditions_source, proj, backlink);
|
||||
}
|
||||
}
|
||||
|
||||
public static void linkIcon(Project proj, String iconId, GameDataElement backlink) {
|
||||
if (iconId != null) {
|
||||
String spritesheetId = iconId.split(":")[0];
|
||||
proj.getSpritesheet(spritesheetId).addBacklink(backlink);
|
||||
}
|
||||
}
|
||||
public static class TimedActorConditionEffect extends ActorConditionEffect {
|
||||
//Available from parsed state
|
||||
public Integer duration = null;
|
||||
|
||||
Reference in New Issue
Block a user