Class ClientGlobal



    Purpose

    ClientGlobal is a subclass of GlobalData. It keeps all the data needed for the client.

    Structure

    ClientGlobal has a PlayerTable which is a hash table to store all the clients currently in the system. It also has a updateScreen to update the screen when needed and a ReqSender to send requests for the client.

    Important Member Data/Method

  • Semaphore syncAct : a semaphore to synchronize the client's move action.
  • Hashtable ImageTable : store the DrawItem object of each items.

    See also

    GlobalData




    [Go to Class Index Table] [Go back to Program Architecture Diagram]
    [Source Code of GlobalData.java]