xobust / Project-Broban

ProjInda15 project
5 stars 2 forks source link

Add object handler #48

Closed iRobsc closed 8 years ago

iRobsc commented 8 years ago

We should add something that implements and handles all the objects in the room. Maybe as a controller? What do you guys think? @xobust @willwull

xobust commented 8 years ago

Well do they realy need to do anything in the mvp state. I only think that we need some kind of collision box memeber and a collision controller

willwull commented 8 years ago

What will the purpose of an object handler be? What are the advantages?

iRobsc commented 8 years ago

Mainly being able to loop through every object and checking the collision

iRobsc commented 8 years ago

And maybe all the objects generated throughout the room could be coded in the controller aswell

iRobsc commented 8 years ago

It will be easier when we want to add complexity to the rng generated room with objects in different groups etc. Instead of doing it all in the room class.

xobust commented 8 years ago

I will try to work on this now

xobust commented 8 years ago

Done