This is a big commit. Added mouse cursors and a load bar. Started whit the game. and many many other things
This commit is contained in:
parent
448fca2fdf
commit
4e7722fedb
34 changed files with 597 additions and 95 deletions
|
|
@ -91,12 +91,12 @@ public class TextureLoader {
|
|||
* @throws IOException Indicates a failure to access the resource
|
||||
*/
|
||||
public Texture getTexture(String resourceName){
|
||||
MultiPrintStream.out.println("Loading texture: "+resourceName);
|
||||
Texture tex = (Texture) table.get(resourceName);
|
||||
|
||||
if (tex != null) {
|
||||
return tex;
|
||||
}
|
||||
MultiPrintStream.out.println("Loading texture: "+resourceName);
|
||||
|
||||
try {
|
||||
tex = getTexture(resourceName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue