private void Room_Loaded(On.Room.orig_Loaded orig, Room self) { if (self.game != null) { LOSController losController; self.AddObject(losController = new LOSController(self)); self.AddObject(new ShortcutDisplay(losController)); } orig(self); }
public ShortcutDisplay(LOSController owner) { this.owner = owner; }