public ScopeNineApp() : base("ScopeNine Alpha", 1024, 700, false) { //Vivid.Input.XIn.Rumble(); InitState = new InGamePlatform(); Run(); }
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); } }