Interface PersonalGoalCardInterface

All Superinterfaces:
Remote
All Known Implementing Classes:
ClientPersonalGoalCard, PersonalGoalCard

public interface PersonalGoalCardInterface extends Remote
Personal Goal Card Interface
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Limit of Personal Goal Cards.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getOrdinal(int x, int y)
    getter method
    int
    Getter method for Personal Goal Card
  • Field Details

  • Method Details

    • getType

      int getType() throws RemoteException
      Getter method for Personal Goal Card
      Returns:
      type of the card
      Throws:
      RemoteException - related to RMI
    • getOrdinal

      int getOrdinal(int x, int y) throws Exception
      getter method
      Parameters:
      x - coordinate
      y - coordinate
      Returns:
      ordinal of ObjectCardType or -1 if the card is empty
      Throws:
      Exception - if coordinates are invalid