GameMaster.cs declarations
Public API declaration excerpts from ../bitquirky-core/Runtime/GameLogic/GameMaster.cs.
Source snapshot ad0983d00d77.
On this page
Original file: ../bitquirky-core/Runtime/GameLogic/GameMaster.cs
Source file hash: sha256:679029d4f300d88903c66899148c782f76a995b47eb62231d9d6a1b0fd073811
Only public declaration headers are shown. Implementation bodies, non-public code, and source comments are omitted.
Type: GameMaster<TState>
Section titled “Type: GameMaster<TState>”Original lines: 20-89
Declaration hash: sha256:9cb1994c4c5c273861eba27a0295bf35d0cce9c665b7b6411696ce40f3a145f7
public abstract class GameMaster<TState> : GameLogic where TState : struct, Enum{}Event: StateChanged
Section titled “Event: StateChanged”Original lines: 26
Declaration hash: sha256:2184ef980fd895fc212371d5fb6e3b6b494905cec1a632179db761ff133a4e98
public event Action<TState, TState> StateChanged;Property: State
Section titled “Property: State”Original lines: 29
Declaration hash: sha256:8c58df4009d9651fa454b17051b09cbd8cf15ea0f5736ebeace74372bcc93319
public TState State { get; }Property: Paused
Section titled “Property: Paused”Original lines: 32
Declaration hash: sha256:bbcf3af934889134927a2ab0bce61e8957c1ee81b37ff9f3d61d9cc9cdd5504a
public bool Paused { get; }Property: IsChangingState
Section titled “Property: IsChangingState”Original lines: 35
Declaration hash: sha256:50ee14f79e9d0a1ae4dcf37149b05973cc7b8529306d071ea42050bda83dff73
public bool IsChangingState { get; }Method: Pause()
Section titled “Method: Pause()”Original lines: 38-42
Declaration hash: sha256:45adfe92ca5c0565b87dd99909e0df7ec05b8019a74241b1436a5bc36836a584
public virtual void Pause();Method: Resume()
Section titled “Method: Resume()”Original lines: 45-49
Declaration hash: sha256:dfbcbb3a7193860ed10e816aca95589a144d686fa95974cecf4b4ff0a04cf767
public virtual void Resume();Method: InitializeGameMaster(TState initialState)
Section titled “Method: InitializeGameMaster(TState initialState)”Original lines: 52-57
Declaration hash: sha256:2f4dd864684f9e41dfec22640bb294c32849823d3ec64878ac525c7df067fcac
protected void InitializeGameMaster(TState initialState);Method: TryBeginStateChange()
Section titled “Method: TryBeginStateChange()”Original lines: 60-69
Declaration hash: sha256:6f0963feb42e55a583b6b8fff3f77cadeaef1358db2ffbd5545191758e2ae80b
protected bool TryBeginStateChange();Method: EndStateChange()
Section titled “Method: EndStateChange()”Original lines: 72-75
Declaration hash: sha256:a20e36bc0b1737941e0c93796d415d70de805605f59cf4f6ebd70bca7c1e900d
protected void EndStateChange();Method: SetState(TState state)
Section titled “Method: SetState(TState state)”Original lines: 78-88
Declaration hash: sha256:128b3c9f6abe7e5659455e1ff69a7f2c624e5c05f9fe7a9c0ca9eb19da111dfc
protected void SetState(TState state);