コード例 #1
0
ファイル: Program.cs プロジェクト: BritishPirate/ProjectRPG
        static void Main()
        {
            Combat fight = new Combat();

            fight.mainCycle();
        }
コード例 #2
0
 public static void heavyAttack(bool enemy, int x, int y, int damage, Combat combat)
 {
     combat.loseHealth(enemy, x, y, damage * 2, new lose[] { lose.physical });
     combat.loseStam(enemy, x, y, 1, new lose[] { lose.cost });
 }
コード例 #3
0
ファイル: EnemyTurn.cs プロジェクト: BritishPirate/ProjectRPG
 private void MainSequence(int x, int y, Combat combat)
 {
     Printer.enemyAttack();
     Attacks.attack(false, 1, 1, 1, combat);
 }
コード例 #4
0
ファイル: EnemyTurn.cs プロジェクト: BritishPirate/ProjectRPG
 public EnemyTurn(int x, int y, Combat combat) : base(x, y, combat)
 {
     combat.enemyGrid.grid[x][y].applyRegen();
     MainSequence(x, y, combat);
 }
コード例 #5
0
ファイル: Turn.cs プロジェクト: BritishPirate/ProjectRPG
 public Turn(int x, int y, Combat combat)
 {
 }