Commit e601a6de authored by Sol's avatar Sol

Some breadcrumbs for future Token Script development

parent d220f5fb
......@@ -42,6 +42,7 @@ public class TokenInfo {
}
public TokenInfo(Card c) {
// TODO: Figure out how to handle legacy images?
this.name = c.getName();
this.imageName = ImageKeys.getTokenImageName(c.getImageKey());
this.manaCost = c.getManaCost().toString();
......@@ -58,6 +59,12 @@ public class TokenInfo {
this.baseToughness = c.getBaseToughness();
}
public TokenInfo(Card c, Card source) {
// TODO If Source has type/color changes on it, apply them now.
// Permanently apply them for casccading tokens? Reef Worm?
this(c);
}
public TokenInfo(String str) {
final String[] tokenInfo = str.split(",");
int power = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment