internal FastSnake(FastSnake other, FastWorld world) { this.Tail = other.Tail; this.index = other.index; this.Status = other.Status; this.MaxLength = other.MaxLength; this.PendingMaxLength = other.PendingMaxLength; this.world = world; this.Head = other.Head; this.Health = other.Health; this.Length = other.Length; }
internal FastSnake(FastWorld world, int index, Coord initialHeadPosition) { this.world = world; this.index = index; MaxLength = 3; PendingMaxLength = MaxLength; Length = 1; Status = Status.Alive; Health = 100; Head = initialHeadPosition; Tail = initialHeadPosition; }