org.globalse.arena.frag.events
Class Event

java.lang.Object
  |
  +--org.globalse.arena.frag.events.Event
Direct Known Subclasses:
ChatMessageEvent, ObjectActionEvent, ObjectControllerEvent, ObjectKilledEvent, ObjectUpdateEvent, PeerDeadEvent, WorldStateEvent, WorldStateRequestEvent

public abstract class Event
extends java.lang.Object
implements java.io.Serializable

abstract class for generating frag events

See Also:
Serialized Form

Field Summary
 java.lang.String game
          The name of the game.
 java.lang.String recipient
          The player name of the recipient.
 java.lang.String sender
          The player name of the sender.
 
Constructor Summary
Event()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

game

public java.lang.String game
The name of the game.

recipient

public java.lang.String recipient
The player name of the recipient. If recipient is left blank, the Event is broadcasted to all peers.

sender

public java.lang.String sender
The player name of the sender. This can be left blank, it is filled in automatically when sending the event to another peer.
Constructor Detail

Event

public Event()



This page is hosted by the Chair for Applied Software Engineering of the Technische Universität München.
Imprint (Impressum)