Beispiel #1
0
        private Animation GetAnimation(int id)
        {
            Animation anim = BmApplication.Assets().GetAnimation(id);

            Debug.Assert(anim != null);
            return(anim);
        }
Beispiel #2
0
        //////////////////////////////////////////////////////////////////////////////

        #region Peer

        private void StartServer()
        {
            String hostName = CVars.sv_hostname.value;

            Scheme scheme = BmApplication.Assets().GetScheme(A.maps_x);

            serverInfo        = new ServerInfo(hostName);
            serverInfo.scheme = scheme;

            GetNetwork().StartServer();
            GetNetwork().StartListeningForServerDiscovery();
        }
Beispiel #3
0
        public SchemeScreen()
        {
            Scheme scheme = BmApplication.Assets().GetScheme(A.maps_x);

            AddView(new SchemeView(scheme, SchemeView.Style.Small));
        }
Beispiel #4
0
 private Animation GetAnimation(int id)
 {
     return(BmApplication.Assets().GetAnimation(id));
 }