Class FreerailsPrincipal

  extended by jfreerails.world.player.FreerailsPrincipal
All Implemented Interfaces:
java.io.Serializable, java.security.Principal, FreerailsSerializable
Direct Known Subclasses:
Player.WorldPrincipal, PlayerPrincipal

public abstract class FreerailsPrincipal
extends java.lang.Object
implements java.security.Principal, FreerailsSerializable

This interface identifies a principal. This interface may be extended in the future in order to provide faster lookups, rather than using name comparisons. A principal represents an entity which can view or alter the game world. A principal usually corresponds to a player's identity, but may also represent an authorititative server, or a another game entity such as a corporation. All entities which may own game world objects must be represented by a principal.

See Also:
Serialized Form

Constructor Summary
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString

Constructor Detail


public FreerailsPrincipal()