forked from ZelimDamian/frame3Sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCoreTypes.cs
81 lines (59 loc) · 1.37 KB
/
CoreTypes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
using System;
using System.Collections.Generic;
namespace f3
{
public enum LineWidthType
{
World,
Pixel
}
public enum FrameType
{
LocalFrame = 0,
WorldFrame = 1
};
public enum UpDirection
{
ZUp = 0,
YUp = 1
}
public enum PivotLocation
{
Center = 0,
BaseCenter = 1
}
public interface IGameObjectGenerator
{
List<fGameObject> Generate();
}
// will/may be called per-frame to give a chance to do something with shortcut keys
// return true to indicate that key was handled, ie "capture" it
public interface IShortcutKeyHandler
{
bool HandleShortcuts();
}
public interface ITextEntryTarget
{
bool ConsumeAllInput();
bool OnBeginTextEntry();
bool OnEndTextEntry();
bool OnBackspace();
bool OnDelete();
bool OnReturn();
bool OnEscape();
bool OnLeftArrow();
bool OnRightArrow();
bool OnCharacters(string s);
}
public enum CameraInteractionState
{
BeginCameraAction,
EndCameraAction,
Ignore
}
public interface ICameraInteraction
{
CameraInteractionState CheckCameraControls(InputState input);
void DoCameraControl(FScene scene, fCamera mainCamera, InputState input);
}
}