예제 #1
0
        private ModifiableResponse fireTrigger(Trigger trigger)
        {
            trigger.Apply(_context);

            _currentState = trigger.TargetNode;
            ConsoleServices.PrintLine(_currentState.State, ConsoleServices.OperatorColor);
            var response = _currentState.ExecuteState(_context);

            return(response);
        }
예제 #2
0
 public void Apply(TileInstance p_other)
 {
     m_trigger.Apply(m_tile_owner.owner, m_tile_owner.IsAdjacentTo(p_other));
 }