jtge.engine.user
Class Player

java.lang.Object
  extended byjtge.engine.user.Player
All Implemented Interfaces:
IData, IUser, java.io.Serializable

public class Player
extends java.lang.Object
implements IUser

Implements a player.

Version:
$Revision: 1.5 $ $Date: 2005/09/10 14:05:52 $
Author:
Mathieu Champlon
See Also:
Serialized Form

Constructor Summary
Player(java.lang.String name)
          Create a Player.
 
Method Summary
 java.lang.String getIdentifier()
          Get the data identifier.
 java.lang.String getName()
          Get name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Player

public Player(java.lang.String name)
Create a Player.

Parameters:
name - player name
Method Detail

getName

public final java.lang.String getName()
Get name.

Returns:
player name

getIdentifier

public final java.lang.String getIdentifier()
Get the data identifier.

Specified by:
getIdentifier in interface IData
Returns:
the identifier


Copyright © 2003-2005 . All Rights Reserved.