コード例 #1
0
ファイル: Asteroid.cs プロジェクト: Timvangool/AsteroidsAPO2
        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
ファイル: Asteroid.cs プロジェクト: Timvangool/AsteroidsAPO2
        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
ファイル: Asteroid.cs プロジェクト: Timvangool/AsteroidsAPO2
 public Asteroid()
 {
     player = new Player();
 }