コード例 #1
0
ファイル: Settings.cs プロジェクト: 2ez-bit/Ultimatefighter
 public Settings(Player player) : base(player)
 {
     Slotbar = new Slotbar(player);
     Window  = new Window();
     LoadSettings();
     CurrentAmmo      = GetLaserLoot();
     CurrentRocket    = GetRocketLoot();
     CurrentHellstorm = GetRocketLauncherLoot();
 }
コード例 #2
0
ファイル: Settings.cs プロジェクト: geo-vi/NettyBaseTD
        public Settings(Player player) : base(player)
        {
            Slotbar = new Slotbar();

            CurrentAmmo   = Player.Information.Ammunitions["ammunition_laser_lcb-10"];
            CurrentRocket = Player.Information.Ammunitions["ammunition_rocket_r-310"];

            LoadSettings();
        }