Hi, I created a game engine as an abstract class
created a game class that extends it.
I want to use active rendering.
I use a frame and canvas.
I used mvc and repaint using swing for my tetris game, now I want to try active rendering.
And I'm a litlle confused if I want to use events and mvc again, because Active rendering is putting drawing methods in the main game class right?
I capped my fps to 60 so It's constantly drawing, so every render I need to draw what do I put in my render loop? in the game class, I don't mean what functions
but where to put the draw methods.
#2 gameCanvas.fpsDraw() => then the game class will need a attribute gameCanvas..
#3 or an event, an event that is triggered loop after loop 60 times/sec :s
I think I still want to devide logic from drawing so #1,2 is ruled out
I think calling events is a waste of resources with this config?
I do think alot
Please advise, Stef