public Blob(Blob existingBlob) { id = Guid.NewGuid(); state = new SearchingState(this); this.props = existingBlob.GetBlobProps(); this.position = new RadialPosition(existingBlob.GetPosition()); this.home = new RadialPosition(existingBlob.GetHome()); this.satiety = Satiety.None; }
public Blob(BlobProps props) { id = Guid.NewGuid(); state = new SearchingState(this); this.props = props; this.position = new RadialPosition(); this.home = new RadialPosition(); this.satiety = Satiety.None; }
public void SetBlobState(BlobState state) { this.state = state; }