Separate the engine-part of game_actor
Closed this issue · 2 comments
Nearoo commented
It doesn't really make sense to call game_actor.world
to affect something engine-wide and game_actor.rect
to affect something of the individual GameActor. Much better would be to get an argument engine
and one game_actor
. Maybe for that purpose, a static variable called "engine" should be added to GameActors - best would be a dummy-class that contains the engine-things.
Nearoo commented
The engine parts like input
or world
are made static two times: Once in EngineWrapper and then again in GameActorComponet - which is unneeded complication. I'll fix it.
Nearoo commented
NICE JOB ME