public string WrtieType(FEATURE_TYPE type) { for (int i = 0; i < types.Length; i++) { if (type == types[i]) { return(TYPE_STR[i]); } } return(TYPE_STR[TYPE_STR.Length - 1]); }
public void SetFeature(FEATURE_TYPE newfeature) { this.featureType = newfeature; UpdateMovementCost(); }
public FeatureLabel() { pointColor = Color.DarkOrange; type = FEATURE_TYPE.DOOR; }