import java.util.*; /** * @author Nicklas Hjalmarsson * @version 1.2 * * Datatype for a playerinfo */ public class Playerinfo{ String homeCity; String messages; Vector scannedareas; Vector spells; boolean ready = false; String dragonNames= "|"; int requestname= 0; boolean dead = false; boolean gameOver; int talismans = 0; Vector talismanAreas= new Vector(3); public Playerinfo(){ ready = false; scannedareas = new Vector(200,10); spells = new Vector(); homeCity = "Citynowhere"; messages = "|@|"; } /** * Use when a player is dead or has left the game */ public void kill(){ dead = true; ready = true; } /** * Use when game is Over */ public void gameOver(Fod game,int i){ gameOver = true; for(int j = 1;j