Beispiel #1
0
 public BattleAxe(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer,
                  string name = "BattleAxe", int maxDamage = 15) :
     base(consoleOut, soundPlayer)
 {
     this.Name      = name;
     this.MaxDamage = maxDamage;
 }
Beispiel #2
0
 public Staff(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer,
              string name = "Staff", int maxDamage = 6) :
     base(consoleOut, soundPlayer)
 {
     this.Name      = name;
     this.MaxDamage = maxDamage;
 }
Beispiel #3
0
 public Dagger(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer,
               string name = "Dagger", int maxDamage = 10) :
     base(consoleOut, soundPlayer)
 {
     this.Name      = name;
     this.MaxDamage = maxDamage;
 }
Beispiel #4
0
 public TreasureChest(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, int value)
 {
     this.consoleOut  = consoleOut;
     this.soundPlayer = soundPlayer;
     this.Name        = "TreasureChest";
     this.Value       = value;
 }
Beispiel #5
0
 public Troll(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, string name, string desc) :
     base(consoleOut, soundPlayer)
 {
     this.Name = name;
     this.desc = desc;
     this.AddToInventory(new BareHands(this.consoleOut, this.soundPlayer, 7));
 }
Beispiel #6
0
 public BroadSword(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer,
                   string name = "BroadSword", int maxDamage = 14) :
     base(consoleOut, soundPlayer)
 {
     this.Name      = name;
     this.MaxDamage = maxDamage;
 }
Beispiel #7
0
 public DungeonGame(IGameHost gameHost,
                    IConsoleOutputService consoleOut,
                    IUserPromptService userPrompt,
                    ISoundPlayerService soundPlayer) :
     base(gameHost, consoleOut, userPrompt, soundPlayer)
 {
 }
Beispiel #8
0
 public DungeonBoard(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, IUserPromptService userPrompt, string mapName) :
     base(NumRows, NumColumns)
 {
     this.consoleOut  = consoleOut;
     this.soundPlayer = soundPlayer;
     this.userPrompt  = userPrompt;
     this.mapName     = mapName;
 }
Beispiel #9
0
 public Character(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer)
 {
     this.consoleOut  = consoleOut;
     this.soundPlayer = soundPlayer;
     this.health      = 100;
     this.pos         = GameBoard.Position.Undefined;
     this.inventory   = new ObservableCollection <InventoryItem>();
 }
Beispiel #10
0
        public Game(IGameHost gameHost,
                    IConsoleOutputService consoleOut,
                    IUserPromptService userPrompt,
                    ISoundPlayerService soundPlayer)
        {
            this.gameHost    = gameHost;
            this.consoleOut  = consoleOut;
            this.userPrompt  = userPrompt;
            this.soundPlayer = soundPlayer;

            this.mapName = null;
            this.Reset();
        }
Beispiel #11
0
        public Main(IBarboraApiClient barboraApiClient, IBarboraNotifyingService barboraNotifyingService, ISoundPlayerService soundPlayerService)
        {
            this.barboraApiClient        = barboraApiClient;
            this.barboraNotifyingService = barboraNotifyingService;
            this.soundPlayerService      = soundPlayerService;

            InitializeComponent();
            InitializeNotifyIcon();
            InitializeApiClientEvents();

            InfoBox.SelectedValuePath = "Value";
            InfoBox.DisplayMemberPath = "Text";

            StartBtn.IsEnabled  = true;
            StopBtn.IsEnabled   = false;
            LogOutBtn.IsEnabled = true;
        }
Beispiel #12
0
 public Rune(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, string name, string text) :
     base(consoleOut, soundPlayer)
 {
     this.Name = name;
     this.text = text;
 }
Beispiel #13
0
 public GoldCoin(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, int value = 1) :
     base(consoleOut, soundPlayer)
 {
     this.Name  = "GoldCoin";
     this.Value = value;
 }
Beispiel #14
0
 public CoinPurse(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
     this.Name = "Purse";
 }
Beispiel #15
0
 public Water(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
     this.Name = "Water";
 }
Beispiel #16
0
 public InventoryItem(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer)
 {
     this.consoleOut  = consoleOut;
     this.soundPlayer = soundPlayer;
 }
 public NeutralCharacter(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, string name, string desc) :
     base(consoleOut, soundPlayer)
 {
     this.Name = name;
     this.desc = desc;
 }
Beispiel #18
0
 public Player(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
     this.Name = "";
     this.MaxInventoryWeightInLbs = 30;
 }
Beispiel #19
0
 public Friend(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, string name, string desc) :
     base(consoleOut, soundPlayer)
 {
     this.Name = name;
     this.desc = desc;
 }
Beispiel #20
0
 public Enemy(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
 }
Beispiel #21
0
 public DungeonBoard(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, IUserPromptService userPrompt) :
     this(consoleOut, soundPlayer, userPrompt, null)
 {
 }
Beispiel #22
0
 public Flask(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
     this.consoleOut = consoleOut;
     this.Name       = "Flask";
 }
Beispiel #23
0
 public BareHands(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, int maxDamage) :
     base(consoleOut, soundPlayer)
 {
     this.Name      = "BareHands";
     this.MaxDamage = maxDamage;
 }
Beispiel #24
0
 public WaterPool(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer)
 {
     this.consoleOut  = consoleOut;
     this.soundPlayer = soundPlayer;
     this.Name        = "Pool";
 }
Beispiel #25
0
 public PowerUp(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
     this.Name         = "PowerUp";
     this.HealthPoints = 10;
 }
Beispiel #26
0
 public Dwarf(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer, string name, string desc) :
     base(consoleOut, soundPlayer, name, desc)
 {
 }
Beispiel #27
0
 public Weapon(IConsoleOutputService consoleOut, ISoundPlayerService soundPlayer) :
     base(consoleOut, soundPlayer)
 {
     this.MinDamage = 0;
 }