Class Add

  • All Implemented Interfaces:
    Command
    Direct Known Subclasses:
    Share

    public class Add
    extends Object
    implements Command
    Add is both a Command and a DTO. Add command is issued by a client to add some object(s) to the world. The client becomes owner of all added objects. Add DTO is sent to clients when new objects (typically users) enter the scene. JSON message structure for both cases is the same.
    Author:
    joe