private void DoReset() { gameProcess = PlayerPrefs.HasKey("TUTORIAL_FINISHED") ? new GameProcess(this) : new TutorialProcess(this, FinishTutorial); UpdateState(GameState.Quitted); }
public CachedStreamMemory(IMemory mem, IGameProcess proc) : base(mem, proc) { pageInfo = new WinAPI.MEMORY_BASIC_INFORMATION() { RegionSize = IntPtr.Zero }; pageData = null; }
public void SetState(IGameProcess state) { if (_state != null) { _state.exit(); } _state = state; _state.enter(); }
public GameEventInfoImpl(IGameProcess currentGameProcess) { }
private void FinishTutorial() { PlayerPrefs.SetString("TUTORIAL_FINISHED", "DONE"); gameProcess = new GameProcess(this); }
public StreamMemory(IMemory mem, IGameProcess proc) { memory = mem; process = proc; }