Пример #1
0
 protected Entity(Vector2 location, Vector2 direction)
 {
     Location = location;
     Direction = direction;
 }
Пример #2
0
 public Paddle(Vector2 location, Vector2 direction, int width, int height)
     : base(location, direction)
 {
     Width = width;
     Height = height;
 }
Пример #3
0
 public Ball(Vector2 location, Vector2 direction, float radius)
     : base(location, direction)
 {
     Radius = radius;
 }