public Enemy(int width, int height, int x, int y, Color color, Игрушка game) : base(width, height, x, y, color, game) { Random rnd = new Random(); this._jumpHeight = rnd.Next(30) + 10; this._xspeed = -rnd.Next(10) - 5; }
public Square(int width, int height, int x, int y, Color color, Игрушка game) { this._width = width; _height = height; _y = y; _x = x; _defcolor = this._color = color; this._game = game; }
public Destructor(int width, int height, int x, int y, Color color, Игрушка game) : base(width, height, x, y, color, game) { }
public Player(int width, int height, int x, int y, Color color, Игрушка game) : base(width, height, x, y, color, game) { }
public Obstacle(int width, int height, int x, int y, Color color, Игрушка game) : base(width, height, x, y, color, game) { }