Class Playerinfo

Class Playerinfo

java.lang.Object
   |
   +----Playerinfo

public class Playerinfo
extends Object
Version:
1.2 Datatype for a playerinfo
Author:
Nicklas Hjalmarsson

Constructor Index

 o Playerinfo()

Method Index

 o gameOver(Fod, int)
Use when game is Over
 o increaseTalismans(Area)
Use to add a new controlled talisman to the player.
 o kill()
Use when a player is dead or has left the game
 o reset()
Call after each turn to reset the values that shall be sent back to the players

Constructors

 o Playerinfo
  public Playerinfo()

Methods

 o kill
  public void kill()
Use when a player is dead or has left the game
 o gameOver
  public void gameOver(Fod game,
                       int i)
Use when game is Over
 o reset
  public void reset()
Call after each turn to reset the values that shall be sent back to the players
 o increaseTalismans
  public void increaseTalismans(Area a)
Use to add a new controlled talisman to the player.