protected void hookRender() {
assert fRenderHook == null: "Render hook should be null";
fRenderHook = new Minion<IEvent>(fRenderPriority) {
@Override
public long run(Dispatcher<IEvent> dispatcher, String type, IEvent event) {
RenderEvent re = (RenderEvent) event;
RenderRogue.this.run(re.graphics(), re.currentTime());
return Minion.CONTINUE;
}
};
fParent.dispatcher().addMinion(Entity.RenderEvent.TYPE, fRenderHook);
}