Example #1
0
 public PhysicalObject(Texture2DWrapper _texture, 
                       Vector2 _position = default(Vector2), 
                       float _rotation = 1.0f, 
                       float _radius = 50.0f)
 {
     Texture = _texture;
     Position = _position;
     Rotation = _rotation;
     Radius = _radius;
 }
Example #2
0
 public SpaceShip(Texture2DWrapper _spaceshiptexture,
                  Texture2DWrapper _thrusttexture,
                  Vector2 _position = default(Vector2),
                  float _rotation = 1.0f,
                  float _radius = 50.0f)
     : base(_spaceshiptexture, _position, _rotation, _radius)
 {
     ThrustTexture = _thrusttexture;
 }