public Resident(int range, int id, ResidentState state, Shared2DArray <byte> sharedState) { mRange = range; mId = id; State = state; SharedState = sharedState; }
public int CompareTo(object obj) { if (obj != null && obj is ResidentState) { ResidentState that = (ResidentState)obj; if (that.X == this.X && that.Y == this.Y && that.Tag == this.Tag) { return(0); } } return(-1); }