Beispiel #1
0
        public TrapAPI(Computer pComputer, TingRunner pTingRunner, DialogueRunner pDialogueRunner)
        {
            _computer = pComputer;
            _tingRunner = pTingRunner;
            _dialogueRunner = pDialogueRunner;

            _tingRunner.onTingHasNewRoom += OnTingHasNewRoom;
            _dialogueRunner.AddOnEventListener (OnEvent);

            _computerRoomCache = _computer.room.name;

            //D.Log("Trap API for " + pComputer + " is rigged!");
        }