Exemplo n.º 1
0
        private void AddWeapons(Entity entity)
        {
            var view = entity.getComponent <PlayerViewComponent>().View;

            _weaponsController.AddWeapon(entity, CreateWeapon(EWeaponType.WeaponOne, view.MountPointWeaponOne));
            _weaponsController.AddWeapon(entity, CreateWeapon(EWeaponType.WeaponTwo, view.MountPointWeaponTwo));

            _weaponsController.SetCurrentWeapon(entity, EWeaponType.WeaponOne);
        }