public Human(string name, Chassis tank, Color colour) : base(name, tank, colour) { this.name = name; this.tank = tank; this.colour = colour; }
public HumanOpponent(string name, Chassis tank, Color colour) : base(name, tank, colour) { throw new NotImplementedException(); }
/// <summary> /// Constructor /// </summary> /// <param name="name">Name of the player</param> /// <param name="tank">Chassis the player uses</param> /// <param name="colour">Colour the player uses</param> public GenericPlayer(string name, Chassis tank, Color colour) { this.name = name; this.tank = tank; this.colour = colour; }
public TankController(string name, Chassis tank, Color colour) { throw new NotImplementedException(); }
/// <summary> /// Not used by human player /// </summary> public PlayerController(string name, Chassis tank, Color colour) : base(name, tank, colour) { }
public PlayerController(string name, Chassis tank, Color colour) : base(name, tank, colour) { // PlayerController constructor is handled in TankController }
/// <summary> /// exists to pass its parameters to the base constructor /// </summary> /// <param name="name">Name to be displayed</param> /// <param name="tank">Computers tank</param> /// <param name="colour">Tanks colour</param> public ComputerPlayer(string name, Chassis tank, Color colour) : base(name, tank, colour) { this.name = name; this.tank = tank; this.colour = colour; }