main.go
file is used as the entry point for your game shard implementation. This is where you will initialize your world and register your component, message, query, and system to it.
Example
A typicalmain.go
file will look like this:
main.go
How to create and manage your Cardinal world
main.go
file is used as the entry point for your game shard implementation. This is where you will initialize your world and register your component, message, query, and system to it.
main.go
file will look like this: