public void ChangePiranhaState(PiranhaState state) { this.piranhaState = state; }
public PiranhaPlant(IFactory spriteFactory, Point position) : base(spriteFactory, position, new Vector2()) { this.piranhaState = new MovingPiranhaPlantState(this); this.hitboxColor = Color.Red; this.HitboxType = HitboxTypes.Full; }