Example #1
0
 public StickyBirdObj(World world)
     : base(world)
 {
     this.SpriteName = "bird2";
     shape = new WrapperCircle(this, 25f);
     collisionDetector = new CircleCollisionDetector(this, shape);
     IsAlive = true;
     InitAnimator();
     this.UpdateAnchorPoint(27.5f, 27.5f);
 }
Example #2
0
 public CircleObject(World world, int radius)
     : base(world)
 {
     shape = new WrapperCircle(this, radius);
     collisionDetector = new CircleCollisionDetector(this, shape);
 }