public override bool Equals(object obj) { if (obj == null) { return(false); } FullEntityState other = (FullEntityState)obj; if (EntityType != other.EntityType) { return(false); } if (!Position.Equals(other.Position)) { return(false); } if (!Rotation.Equals(other.Rotation)) { return(false); } if (ModelIndex != other.ModelIndex) { return(false); } if (ModelLocation != other.ModelLocation) { return(false); } return(true); }
public BaseEntityState(FullEntityState fullState) { Type = EntityStateType.Base; ID = fullState.ID; }