This class extends Applet and is the main program of a client.
This is the main program of a client. All the initialization of the client is done at the beginning
of this class.
Variables
data of type ClientGlobal: Store all the global variables used in the client.
mapConsturctor of type MapConstructor: To construct the map data.
msgHandler of type ClientMsgHandler: To handle all the incoming messages.
keyHandler of type EventHandler: To handle all the keyboard input events.
reqSender of type ReqSender: To send requests to server.
crashReporter of type CrashReporter: To request for report telling if the client has crashed.
collisionDetector of type CollisionDetector: To detect if any collision has occured.