public ScopeNineApp() : base("ScopeNine Alpha", 1024, 700, false)
        {
            //Vivid.Input.XIn.Rumble();


            InitState = new InGamePlatform();


            Run();
        }
Exemple #2
0
 public IPlatform GetPlatform(PlatformConfig config)
 {
     if (pool.objectGroupNames.Contains(config.name))
     {
         if (_inGamePlatform == null)
         {
             _inGamePlatform = new InGamePlatform();
         }
         _inGamePlatform.pool = pool;
         return(_inGamePlatform);
     }
     else
     {
         throw new Exception("There is no InGameObject with name: " + config.name);
     }
 }