Exemple #1
0
        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;
        }
Exemple #2
0
 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;
 }
Exemple #3
0
 public Destructor(int width, int height, int x, int y, Color color, Игрушка game)
     : base(width, height, x, y, color, game)
 {
 }
Exemple #4
0
 public Player(int width, int height, int x, int y, Color color, Игрушка game)
     : base(width, height, x, y, color, game)
 {
 }
Exemple #5
0
 public Obstacle(int width, int height, int x, int y, Color color, Игрушка game)
     : base(width, height, x, y, color, game)
 {
 }