Exemple #1
0
        public Bomb(Vector2 pos, float rad, Actor launcher)
            : base(pos, rad)
        {
            this.Mass = .1f;
            this.DragCoefficient = .001f;

            Position = pos;
            Radius = rad;
            this.Collided += new CollisionEventHandler(Bomb_Collided);
        }
Exemple #2
0
 public Device(Actor parent)
     : base(parent.Position, 0f)
 {
     Parent = parent;
 }