Task.java

jmud-0.11/src/Task.java · 350 B

From the archive jmud-0_11.tgz

Download the archive   « Back to the archive contents

abstract class Task {
  static protected World   theWorld   = null;
  static protected Manager theManager = null;

  static void setWorld(World wld) {
    theWorld = wld;
  }

  static void setManager(Manager mgr) {
    theManager = mgr;
  }

  Client theClient = null;

  Task(Client cli) {
    theClient = cli;
  }

  abstract void execute(); 
}


Site Stats

Snippets: 1791
Codebases: 571