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.
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'sDrawTexture()
not covered bycTransform
. Namely, it will hold the texture handle for the entity and it will hold the color value of the tint.