OrangeJuice7 / SDL-OpenGL-Game-Framework

A generic and portable game project framework using C++, SDL and OpenGL.
MIT License
3 stars 2 forks source link

Add Buildings #32

Open OrangeJuice7 opened 4 years ago

OrangeJuice7 commented 4 years ago

Prereq: #17

Functions about the same as immovable Entities (health, collision, AI), but have a rectangular hitbox.

Maybe don't make them native to the tile after all, but handle them as Entities instead, since they interact more like Entities than like the background.