-
Notifications
You must be signed in to change notification settings - Fork 0
ResourceHandler
Rico Schrage edited this page May 9, 2017
·
3 revisions
In gdx-surface every resource will be described via a resource-descriptor. There are two types of resources: Resource
and ResourceUnit
:
- A
Resource
describes always exactly one file. - A
ResourceUnit
describes a part of a resource (for example a texture-region). It's recommended to implementResource
andResourceUnit
as enums. Thats why there is no default implementation of these two interfaces.
For handling, loading and accessing your resources you can just use the ResourceHandler
.
© VeryGame