-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.ctn
38 lines (33 loc) · 1.15 KB
/
app.ctn
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
/**
* This is the application's main container file. In other words,
* it's the place where you want to specify your parameters and services.
*
* By default, all container files located in the `/app` directory are added
* to the current namespace. This means that you can easily import these files
* anywhere in your code by using the `import app/myfile` syntax.
*/
/**
* Import Plugins & Extensions
*/
//import phpgl/visu-bundler
/**
* Configuration
* This includes the defaults, parameters, settings, and any other configuration-related aspects.
*/
import app/config
/**
* Core services
* These are fundamental services like game loop, window, etc., that the application heavily relies on.
*/
import app/core
/**
* Input / action & control mapping
* This involves the mapping of user inputs to certain actions or controls in your application.
*/
import app/input
/**
* Signal handlers
* things in here are used to handle various events or signals that occur during the execution of your application.
* They can be used to gracefully handle errors, interruptions, and other events that need specific actions when they occur.
*/
import app/signals