public BombObject(int id,float mass, float gravityFactor, float windFactor, float airResitFactor) : base(id) { m_mass = mass; m_gravityFactor = gravityFactor; m_windFactor = windFactor; m_airResitFactor = airResitFactor; m_vx = new EulerVector(0, 0, 0); m_vy = new EulerVector(0, 0, 0); m_rect = new Rectangle(-3,-3,6,6); }
public BombObject(int id,BombType type, Player owner, Tile shape, int radius, bool controled, float mass, float gravityFactor, float windFactor, float airResitFactor,double power) : base(id) { _power = power; _owner = owner; _controled = controled; _mass = mass; _gravityFactor = gravityFactor; _windFactor = windFactor; _airResitFactor = airResitFactor; _type = type; _isHole = true; _radius = radius; _vx = new EulerVector(0, 0, 0); _vy = new EulerVector(0, 0, 0); _shape = shape; _rect = new Rectangle(-3,-3,6,6); }