JellevanCampen / TwoSoulsTale

0 stars 0 forks source link

Refactor resources to make correct use of friending #28

Open JellevanCampen opened 9 years ago

JellevanCampen commented 9 years ago

Only resource-manipulation operations should be public (e.g. filtering a texture). Construction, loading and rendering functionality should only be accessible to the ResourceManager and the GraphicsManager respectively.

JellevanCampen commented 9 years ago

BitmapFontResource can be used as an example for correct usage.