Exemplo 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;
 }
Exemplo 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;
 }
Exemplo n.º 3
0
 public BossEnemy(ShootingGame game)
     : base(game)
 {
     MaxHP = 1;
     HP    = 1;
 }
Exemplo n.º 4
0
 public BossEnemy(ShootingGame game)
     : base(game)
 {
     MaxHP = 1;
     HP = 1;
 }
Exemplo n.º 5
0
 public Enemy(ShootingGame game)
 {
     Game     = game;
     Position = new Position();
     Dead     = false;
 }
Exemplo n.º 6
0
 public Enemy(ShootingGame game)
 {
     Game = game;
     Position = new Position();
     Dead = false;
 }