Beispiel #1
0
 private void Init()
 {
     EggMachine left = new EggMachine(this, 10, 1, EggMachine.Direction.Right);
     EggMachine right = new EggMachine(this, 10, 27, EggMachine.Direction.Left);
     oyaji = new Oyaji(this, 6, 14, left, right);
     Enemies.AddThing(oyaji);
     Enemies.AddThing(left);
     Enemies.AddThing(right);
 }
Beispiel #2
0
        private void Init()
        {
            EggMachine left  = new EggMachine(this, 10, 1, EggMachine.Direction.Right);
            EggMachine right = new EggMachine(this, 10, 27, EggMachine.Direction.Left);

            oyaji = new Oyaji(this, 6, 14, left, right);
            Enemies.AddThing(oyaji);
            Enemies.AddThing(left);
            Enemies.AddThing(right);
        }
Beispiel #3
0
 public Oyaji(GameScene game, int row, int col, EggMachine left, EggMachine right)
     : base(game, RECTANGLE, new Vector(col * Settings.BLOCK_WDITH, row * Settings.BLOCK_WDITH), Vector.Zero, INIT_HEALTH)
 {
     leftEggMachine  = left;
     rightEggMachine = right;
     byaa            = null;
     nuru            = null;
     norio1          = null;
     norio2          = null;
     currentState    = State.Wait1;
     stateCount      = 0;
     animation       = 0;
     numDeathTicks   = 0;
 }
Beispiel #4
0
 public Oyaji(GameScene game, int row, int col, EggMachine left, EggMachine right)
     : base(game, RECTANGLE, new Vector(col * Settings.BLOCK_WDITH, row * Settings.BLOCK_WDITH), Vector.Zero, INIT_HEALTH)
 {
     leftEggMachine = left;
     rightEggMachine = right;
     byaa = null;
     nuru = null;
     norio1 = null;
     norio2 = null;
     currentState = State.Wait1;
     stateCount = 0;
     animation = 0;
     numDeathTicks = 0;
 }