public PhysicsObject(Vector2 position, Vector2 size, float angle, Color color, Texture2D texture, Animation animation, Shape[] shape)
     : base(position, size, new Vector2(texture.Height / 2, texture.Height / 2), angle, color, texture, animation)
 {
     this.shapes = shape;
     velocity = Vector2.Zero;
     acc = Vector2.Zero;
 }
 public ThrowableObject(Vector2 position, Vector2 size, float angle, Color color, Texture2D texture, Animation animation, Shape[] shape)
     : base(position, size, angle, color, texture, animation, shape)
 {
 }
Exemplo n.º 3
0
 public Cloud(Vector2 position, Vector2 size, float angle, Color color, Animation animation, Shape[] shape)
     : base(position, size, angle, color, GameLib.getInstance().get(TextureE.cloud), animation, shape)
 {
 }