public static BaseHandler LaunchFromID(string id, RelicChunk rc) { BaseHandler chnd; switch (id) { case "ACTN": chnd = new ACTNHandler(); break; default: chnd = new StandardChunkHandler(); break; } chnd.LoadChunk(rc); return chnd; }
public static BaseHandler LaunchFromID(string id, RelicChunk rc) { BaseHandler chnd; switch (id) { case "ACTN": chnd = new ACTNHandler(); break; default: chnd = new StandardChunkHandler(); break; } chnd.LoadChunk(rc); return(chnd); }