Class Structures

Hello, Im quite new to this engine.

Is there any way to split the game into different classes. All of the examples only have a main. I want different classes like, ball, agents, goal, state machine etc. If so what do I have to import?


You also seem to be quite new to Java, hm? :slight_smile: Do some java tutorials, look at some java code… Theres many ways to rome…

You can “split” the code the way you want. There is not one way to do it…

The examples are this way for a learning purpose.