blob: 214c2569e9d3d127660363b55caba3df69fefdf0 (
plain)
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<?xml version="1.0" encoding="UTF-8" ?>
<class name="MainLoop" inherits="Object" category="Core" version="3.1-dev">
<brief_description>
Main loop is the abstract main loop base class.
</brief_description>
<description>
Main loop is the abstract main loop base class. All other main loop classes are derived from it. Upon application start, a [code]MainLoop[/code] has to be provided to OS, else the application will exit. This happens automatically (and a [SceneTree] is created), unless a main [Script] is supplied, which may or not create and return a [code]MainLoop[/code].
</description>
<tutorials>
</tutorials>
<demos>
</demos>
<methods>
<method name="_drop_files" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="files" type="PoolStringArray">
</argument>
<argument index="1" name="screen" type="int">
</argument>
<description>
</description>
</method>
<method name="_finalize" qualifiers="virtual">
<return type="void">
</return>
<description>
Called before the program exits.
</description>
</method>
<method name="_idle" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
Called each idle frame with time since last call as an only argument.
</description>
</method>
<method name="_initialize" qualifiers="virtual">
<return type="void">
</return>
<description>
Called once during initialization.
</description>
</method>
<method name="_input_event" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="ev" type="InputEvent">
</argument>
<description>
</description>
</method>
<method name="_input_text" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="text" type="String">
</argument>
<description>
</description>
</method>
<method name="_iteration" qualifiers="virtual">
<return type="void">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
</description>
</method>
<method name="finish">
<return type="void">
</return>
<description>
</description>
</method>
<method name="idle">
<return type="bool">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
</description>
</method>
<method name="init">
<return type="void">
</return>
<description>
</description>
</method>
<method name="input_event">
<return type="void">
</return>
<argument index="0" name="ev" type="InputEvent">
</argument>
<description>
</description>
</method>
<method name="input_text">
<return type="void">
</return>
<argument index="0" name="text" type="String">
</argument>
<description>
</description>
</method>
<method name="iteration">
<return type="bool">
</return>
<argument index="0" name="delta" type="float">
</argument>
<description>
</description>
</method>
</methods>
<constants>
<constant name="NOTIFICATION_WM_MOUSE_ENTER" value="2">
</constant>
<constant name="NOTIFICATION_WM_MOUSE_EXIT" value="3">
</constant>
<constant name="NOTIFICATION_WM_FOCUS_IN" value="4">
</constant>
<constant name="NOTIFICATION_WM_FOCUS_OUT" value="5">
</constant>
<constant name="NOTIFICATION_WM_QUIT_REQUEST" value="6">
</constant>
<constant name="NOTIFICATION_WM_GO_BACK_REQUEST" value="7">
</constant>
<constant name="NOTIFICATION_WM_UNFOCUS_REQUEST" value="8">
</constant>
<constant name="NOTIFICATION_OS_MEMORY_WARNING" value="9">
</constant>
<constant name="NOTIFICATION_TRANSLATION_CHANGED" value="90">
</constant>
<constant name="NOTIFICATION_WM_ABOUT" value="91">
</constant>
</constants>
</class>
|