Class Commands

java.lang.Object
com.j3d.engine.react.events.EventEmitter
com.j3d.engine.interact.cmd.Commands
All Implemented Interfaces:
EventEmitterInterface

public class Commands extends EventEmitter
A container class for all top-level commands.

This class holds a single instance of each concrete Command implementation. This allows commands to be constructed once and then reused, avoiding repeated object creation. The instances are then registered with the CommandsManager.

Author:
Lehlogonolo Poole
See Also: