示例#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();
        }
示例#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();
        }
示例#3
0
 public Asteroid()
 {
     player = new Player();
 }