setting up the launcher now

This commit is contained in:
kin fuyuki 2025-12-21 10:08:50 -03:00
commit 1051610ffa
No known key found for this signature in database
GPG key ID: 0E4E8E519FB71401
30 changed files with 417 additions and 39 deletions

View file

@ -6,11 +6,16 @@ namespace enginend {
struct scene{
std::list<enginend::node*> nodes;
virtual void boot() {
int i=0;
tiny::echo((char*)"initializing scene");
for (enginend::node* n : nodes) {
tiny::echo((char*)"initializing object of ID: %i",i++);
n->boot();
}
}
virtual void draw() {
ClearBackground(BLANK);
BeginDrawing();
for (enginend::node* n : nodes) {
n->draw();