netwar.settings
Class PlayerSettings

java.lang.Object
  |
  +--netwar.settings.PlayerSettings
All Implemented Interfaces:
java.io.Serializable

public class PlayerSettings
extends java.lang.Object
implements java.io.Serializable

STRUCT style class used for network coordination. Contains game initialization data for one Player.

Author:
Group N2 - Project Netwar, Daniel Grund
See Also:
Serialized Form

Field Summary
 java.awt.Color teamColor
          The color used by this player's GameObjects to differentiate them visually.
 java.lang.String teamName
          The name of this player, used for chat and other player to player interactions.
 
Constructor Summary
PlayerSettings(java.awt.Color c, java.lang.String name)
          Creates a new instance of PlayerSettings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

teamColor

public java.awt.Color teamColor
The color used by this player's GameObjects to differentiate them visually.

teamName

public java.lang.String teamName
The name of this player, used for chat and other player to player interactions.
Constructor Detail

PlayerSettings

public PlayerSettings(java.awt.Color c,
                      java.lang.String name)
Creates a new instance of PlayerSettings