Esempio n. 1
0
 /// <summary>
 /// 自機を初期化する。
 /// </summary>
 public OwnCharacter(ShootingGame game, Position pos)
 {
     this.game = game;
     Position = pos.Clone();
     Radius = 7;
     speed = 5.0;
     slowSpeed = 2.0;
     img = DX.LoadGraph("img/own.bmp");
     bulletFrame = 6;
 }
Esempio n. 2
0
 /// <summary>
 /// 自機を初期化する。
 /// </summary>
 public OwnCharacter(ShootingGame game, Position pos)
 {
     this.game   = game;
     Position    = pos.Clone();
     Radius      = 7;
     speed       = 5.0;
     slowSpeed   = 2.0;
     img         = DX.LoadGraph("img/own.bmp");
     bulletFrame = 6;
 }
Esempio n. 3
0
 public BossEnemy(ShootingGame game)
     : base(game)
 {
     MaxHP = 1;
     HP    = 1;
 }
Esempio n. 4
0
 public BossEnemy(ShootingGame game)
     : base(game)
 {
     MaxHP = 1;
     HP = 1;
 }
Esempio n. 5
0
 public Enemy(ShootingGame game)
 {
     Game     = game;
     Position = new Position();
     Dead     = false;
 }
Esempio n. 6
0
 public Enemy(ShootingGame game)
 {
     Game = game;
     Position = new Position();
     Dead = false;
 }