Assets & AssetManager documentation and security.
Ahora en las tx, el SDL_Rect index 0 es la tx completa por defecto. Revisamos los Assets y el AssetManager. Añadimos seguridad en los métodos y controlamos excepciones. Reescribimos comentarios y recolocamos código.
This commit is contained in:
@@ -1,17 +1,5 @@
|
||||
{
|
||||
"TexturePath": "resources/Sprites/Textures/Player.png",
|
||||
"TextureRects": [
|
||||
{
|
||||
"posX": 0,
|
||||
"posY": 0,
|
||||
"sizeX": 16,
|
||||
"sizeY": 16
|
||||
},
|
||||
{
|
||||
"posX": 16,
|
||||
"posY": 0,
|
||||
"sizeX": 16,
|
||||
"sizeY": 16
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,12 +1,6 @@
|
||||
{
|
||||
"TexturePath": "resources/Sprites/Textures/bc.png",
|
||||
"TextureRects": [
|
||||
{
|
||||
"posX": 0,
|
||||
"posY": 0,
|
||||
"sizeX": 320,
|
||||
"sizeY": 240
|
||||
},
|
||||
{
|
||||
"posX": 80,
|
||||
"posY": 60,
|
||||
|
||||
Reference in New Issue
Block a user