public PhysicsGameObject(Game game, Texture2D texture, Vector2 position, float gravity) : base(game, texture) { fixedPos = false; body = new PhysicsBody(position, new Point(texture.Height, texture.Width), gravity); }
public PhysicsGameObject(Game game, Texture2D texture, Vector2 position, bool fixedPos) : base(game, texture) { this.fixedPos = fixedPos; body = new PhysicsBody(position, new Point(texture.Height, texture.Width)); }