Esempio n. 1
0
        public Asteroid(Vector2 pos, int size, double speed, Vector2 direction)
        {
            this.pos = pos;
            this.size = size;
            this.speed = speed;
            this.direction = direction;

            player = new Player();
        }
Esempio n. 2
0
        public Asteroid(int posX, int posY, int size, float speed, Vector2 direction)
        {
            this.posX = posX;
            this.posY = posY;
            this.size = size;
            this.speed = speed;
            this.direction = direction;

            player = new Player();
        }
Esempio n. 3
0
 public Asteroid()
 {
     player = new Player();
 }