Package moise.oe

Class Player

java.lang.Object
moise.oe.Player
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
MissionPlayer, RolePlayer

public abstract class Player
extends java.lang.Object
implements java.io.Serializable
Represents the common properties for Role/Mission player.
Author:
Jomi
See Also:
Serialized Form
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected OEAgent player  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected Player​(OEAgent ag)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    OEAgent getPlayer()  
    int hashCode()  
    protected void setPlayer​(OEAgent ag)  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • player

      protected OEAgent player
  • Constructor Details

    • Player

      protected Player​(OEAgent ag)
  • Method Details

    • getPlayer

      public OEAgent getPlayer()
    • setPlayer

      protected void setPlayer​(OEAgent ag)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object