Nebula
Loading...
Searching...
No Matches
Nebula.Game Namespace Reference

Classes

class  ComponentManager
class  Entity
 Represents a game object that resides in a game world. More...
class  EntityExtensions
struct  EntityId
interface  IMessageHandler< T >
interface  INebulaApi
class  Input
 The mirror of the engine's default keyboard and mouse handlers. More...
interface  Msg
class  MsgDispatcher
interface  NativeComponent
 All structs that inherit from this class will automatically be registered and searchable as native components. More...
class  NebulaApiV1
class  NebulaApp
class  Property
class  PropertyExtensions
class  PropertyManager
struct  ResourceDescriptor
 Represents a native descriptor for a resource name. More...
class  Time
 The time the game logic runs on. More...
class  TimeManager
 The mirror of the engine's time sources. More...
class  TimeSource
 A time source. More...
class  TimeSourceHash
 The fourcc hashes of the time sources the application layer provides. More...
struct  TimeSourceSnapshot
 The entry the sync writes into. More...
class  World
 Worlds hold entities. More...

Enumerations

enum  Key {
  Back = 0 , Tab = 1 , Clear = 2 , Return = 3 ,
  Shift = 4 , Control = 5 , Menu = 6 , Pause = 7 ,
  Capital = 8 , Escape = 9 , Convert = 10 , NonConvert = 11 ,
  Accept = 12 , ModeChange = 13 , Space = 14 , PageUp = 15 ,
  PageDown = 16 , End = 17 , Home = 18 , Left = 19 ,
  Right = 20 , Up = 21 , Down = 22 , Select = 23 ,
  Print = 24 , Execute = 25 , Snapshot = 26 , Insert = 27 ,
  Delete = 28 , Help = 29 , LeftWindows = 30 , RightWindows = 31 ,
  Apps = 32 , Sleep = 33 , NumPad0 = 34 , NumPad1 = 35 ,
  NumPad2 = 36 , NumPad3 = 37 , NumPad4 = 38 , NumPad5 = 39 ,
  NumPad6 = 40 , NumPad7 = 41 , NumPad8 = 42 , NumPad9 = 43 ,
  Multiply = 44 , Add = 45 , Subtract = 46 , Separator = 47 ,
  Decimal = 48 , Divide = 49 , F1 = 50 , F2 = 51 ,
  F3 = 52 , F4 = 53 , F5 = 54 , F6 = 55 ,
  F7 = 56 , F8 = 57 , F9 = 58 , F10 = 59 ,
  F11 = 60 , F12 = 61 , NumLock = 62 , ScrollLock = 63 ,
  Semicolon = 64 , Slash = 65 , Tilde = 66 , LeftBracket = 67 ,
  RightBracket = 68 , BackSlash = 69 , Quote = 70 , Comma = 71 ,
  Underbar = 72 , Period = 73 , Equality = 74 , LeftShift = 75 ,
  RightShift = 76 , LeftControl = 77 , RightControl = 78 , LeftMenu = 79 ,
  RightMenu = 80 , BrowserBack = 81 , BrowserForward = 82 , BrowserRefresh = 83 ,
  BrowserStop = 84 , BrowserSearch = 85 , BrowserFavorites = 86 , BrowserHome = 87 ,
  VolumeMute = 88 , VolumeDown = 89 , VolumeUp = 90 , MediaNextTrack = 91 ,
  MediaPrevTrack = 92 , MediaStop = 93 , MediaPlayPause = 94 , LaunchMail = 95 ,
  LaunchMediaSelect = 96 , LaunchApp1 = 97 , LaunchApp2 = 98 , Key0 = 99 ,
  Key1 = 100 , Key2 = 101 , Key3 = 102 , Key4 = 103 ,
  Key5 = 104 , Key6 = 105 , Key7 = 106 , Key8 = 107 ,
  Key9 = 108 , A = 109 , B = 110 , C = 111 ,
  D = 112 , E = 113 , F = 114 , G = 115 ,
  H = 116 , I = 117 , J = 118 , K = 119 ,
  L = 120 , M = 121 , N = 122 , O = 123 ,
  P = 124 , Q = 125 , R = 126 , S = 127 ,
  T = 128 , U = 129 , V = 130 , W = 131 ,
  X = 132 , Y = 133 , Z = 134 , NumKeyCodes = 135 ,
  InvalidKey = 136
}
 The key codes the engine's Input.Key.Code has. More...
enum  MouseButton {
  LeftButton = 0 , RightButton = 1 , MiddleButton = 2 , NumMouseButtons = 3 ,
  InvalidMouseButton = 4
}
 The mouse buttons the engine's Input.MouseButton.Code has, with the same values. More...
enum  FrameEvent {
  OnBeginFrame , OnFixedFrame , OnFrame , OnEndFrame ,
  NumEvents
}

Enumeration Type Documentation

◆ FrameEvent

Enumerator
OnBeginFrame 
OnFixedFrame 
OnFrame 
OnEndFrame 
NumEvents 

◆ Key

The key codes the engine's Input.Key.Code has.

The values are the contract between the two sides, so they are written out here rather than left to the compiler, and the test checks them against the engine.

Enumerator
Back 
Tab 
Clear 
Return 
Shift 
Control 
Menu 
Pause 
Capital 
Escape 
Convert 
NonConvert 
Accept 
ModeChange 
Space 
PageUp 
PageDown 
End 
Home 
Left 
Right 
Up 
Down 
Select 
Print 
Execute 
Snapshot 
Insert 
Delete 
Help 
LeftWindows 
RightWindows 
Apps 
Sleep 
NumPad0 
NumPad1 
NumPad2 
NumPad3 
NumPad4 
NumPad5 
NumPad6 
NumPad7 
NumPad8 
NumPad9 
Multiply 
Add 
Subtract 
Separator 
Decimal 
Divide 
F1 
F2 
F3 
F4 
F5 
F6 
F7 
F8 
F9 
F10 
F11 
F12 
NumLock 
ScrollLock 
Semicolon 
Slash 
Tilde 
LeftBracket 
RightBracket 
BackSlash 
Quote 
Comma 
Underbar 
Period 
Equality 
LeftShift 
RightShift 
LeftControl 
RightControl 
LeftMenu 
RightMenu 
BrowserBack 
BrowserForward 
BrowserRefresh 
BrowserStop 
BrowserSearch 
BrowserFavorites 
BrowserHome 
VolumeMute 
VolumeDown 
VolumeUp 
MediaNextTrack 
MediaPrevTrack 
MediaStop 
MediaPlayPause 
LaunchMail 
LaunchMediaSelect 
LaunchApp1 
LaunchApp2 
Key0 
Key1 
Key2 
Key3 
Key4 
Key5 
Key6 
Key7 
Key8 
Key9 
A 
B 
C 
D 
E 
F 
G 
H 
I 
J 
K 
L 
M 
N 
O 
P 
Q 
R 
S 
T 
U 
V 
W 
X 
Y 
Z 
NumKeyCodes 
InvalidKey 

◆ MouseButton

The mouse buttons the engine's Input.MouseButton.Code has, with the same values.

Enumerator
LeftButton 
RightButton 
MiddleButton 
NumMouseButtons 
InvalidMouseButton