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