示例#1
0
 public PlayerProfile(string name, Dictionary<byte, ulong> bestScores, PlayerTank personalTank, sbyte profileNumber)
 {
     this.name = name;
     this.bestScores = bestScores;
     this.personalTank = personalTank;
     this.profileNumber = profileNumber;
     this.currentScore = 0;
 }
示例#2
0
 public EnemyTank(int x, int y, PlayerTank playerTank, Directions direction, int health = 100, int speed = 20, int shootPower = 50, ConsoleColor color = ConsoleColor.Cyan)
     : base(x, y, health, speed, shootPower, color, direction)
 {
     this.playerTank = playerTank;
 }
 public EnemySmartTank(PlayerTank playerTank, List<LevelObject> levelObjects, int x, int y, Directions direction, int health = 100, int speed = 20, int shootPower = 50, ConsoleColor color = ConsoleColor.Cyan)
     : base(x, y, playerTank, direction, health, speed, shootPower, color)
 {
     this.levelObjects = levelObjects;
 }
 public EnemySimpleTank(int x, int y, Directions direction, PlayerTank playerTank)
     : base(x, y, playerTank, direction)
 {
 }