void AssignCrime(Crime _crime) { currentCrime = _crime; m_destinationType = types.DestinationType.Crime; m_officerState = types.OfficerState.isTravelling_interruptible; InitiateTrip(_crime.GetBuilding()); }
public OfficerTask(Activity _a) { activity = _a; Crime c = _a as Crime; //Tip t = _a as Tip; //Raid r = _a as Raid; if (c != null) { type = 0; location = c.GetBuilding(); } }