Ejemplo n.º 1
0
 public void onCommand(Command command, Time dt)
 {
     if (command.category == getCategory()) { command.actionfunc(this, dt); }
     foreach (SceneNode child in mChildren) { child.onCommand(command, dt); }
 }
Ejemplo n.º 2
0
 //public methods
 public void push(Command command)
 {
     mQueue.Enqueue(command);
 }