/* Creature by Kris Schnee */ class Creature { public String name; int level; int attack; String element; int woundsMinor; int woundsMajor; int[] coords; public Creature(String name) { this.name = name; level = 1; element = "None"; woundsMinor = 0; woundsMajor = 0; attack = 1; } /* public void SetPlace(Place p) { place = p; } */ public void SetCoords(int[] coords) { this.coords = coords; } public void SetAttack(int atk) { attack = atk; } public void InflictWound(boolean major) { if( major ) { woundsMajor++; // Check for death } else { woundsMinor++; } } }