And function "*Start()" and *End()" to update and draw in several objects #4

Closed
opened 2020-08-09 10:54:56 +02:00 by kazhnuz · 1 comment
Owner

As for now, where the scene draw itself, and when different functions happens is kinda fixed, and we should get a way to have better control on that.

It could also be usefull for actors, to avoid modifing the automatic update(dt) and draw() functions directly.

The goal is to add the following functions :

  • updateStart(dt)

  • updateEnd(dt)

  • drawStart()

  • drawEnd()

And to call all of them inside the controllers.

The following object might need it :

  • Actors

  • World

  • Scene

As for now, where the scene draw itself, and when different functions happens is kinda fixed, and we should get a way to have better control on that. It could also be usefull for actors, to avoid modifing the automatic update(dt) and draw() functions directly. The goal is to add the following functions : - updateStart(dt) - updateEnd(dt) - drawStart() - drawEnd() And to call all of them inside the controllers. The following object might need it : - Actors - World - Scene
kazhnuz added the
0. Imported
label 2020-08-09 10:54:56 +02:00
Author
Owner

Fixed since 58b8c95d62

Fixed since 58b8c95d62
Sign in to join this conversation.
No description provided.