private ModifiableResponse fireTrigger(Trigger trigger) { trigger.Apply(_context); _currentState = trigger.TargetNode; ConsoleServices.PrintLine(_currentState.State, ConsoleServices.OperatorColor); var response = _currentState.ExecuteState(_context); return(response); }
public void Apply(TileInstance p_other) { m_trigger.Apply(m_tile_owner.owner, m_tile_owner.IsAdjacentTo(p_other)); }