Andidy / engine-v2

1 stars 0 forks source link

Add `cRenderable` #23

Closed Andidy closed 3 years ago

Andidy commented 3 years ago

cRenderable will be the component responsible for instructing the rendering portion of the engine and Raylib how to draw an entity's representation in the game world. Currently, cRenderable will be responsible for filling out the parameters in Raylib's DrawTexture() not covered by cTransform. Namely, it will hold the texture handle for the entity and it will hold the color value of the tint.