-All objects are represented in the library as the `t_obj` struct. A `t_obj` could therefore represent your own or your opponents units, but also your core, a wall, a deposit or even a bomb. By using cmd+click in VSCode, you should be able to navigate to the `bot.h` file and from there to the `core_lib.h` file. Here you can see every struct and function provided to you by the core library, where you should also be able to find the `t_obj` struct. You don't every have to allocate a `t_obj` yourself, as the library already created every object currently in the game for you, you just need to look for it.
0 commit comments