コード例 #1
0
        public override void LoadContent(IContentHelper contentHelper)
        {
            player = new Player();
            player.LoadContent(contentHelper);

            base.LoadContent(contentHelper);
        }
コード例 #2
0
 private void SetupPlayer(IContentHelper contentHelper)
 {
     player = new Player();
     player.LoadContent(contentHelper);
     currentWeapon = new Weapon(weaponStartPosition, player);
     currentWeapon.LoadContent(contentHelper);
 }