Commit 707bf0b8 authored by Guillaume Hocquet's avatar Guillaume Hocquet
Browse files

Fix3

parent 04d493b8
......@@ -39,7 +39,7 @@ public class AvatarDisplayer
public void displayAvatar()
{
/** Picture **/
//g.drawImage(SpriteLoader.getSpriteFromPath("./character/" + name + ".gif").getSpriteImage(), 0, 0 ,pictureSize,pictureSize,null);
g.drawImage(SpriteLoader.getSpriteFromPath("./character/" + name + ".gif").getSpriteImage(), 0, 0 ,pictureSize,pictureSize,null);
/** Life **/
g.setColor(new Color(255,0,0, 80));
......
......@@ -29,7 +29,7 @@ public class TileSpriteLinker
spriteMap.put(TileType.WALL, new WallTileSprite(SpriteLoader.getSpriteFromPath("/assets/Wall_test.png").getSpriteImage()));
spriteMap.put(TileType.EMPTY, new GroundTileSprite(SpriteLoader.getSpriteFromPath("/assets/Top_wall.png").getSpriteImage()));
spriteMap.put(TileType.STAIRS , new GroundTileSprite(SpriteLoader.getSpriteFromPath("/assets/dungeon_set_1/stairs/stairs2.bmp").getSpriteImage()));
spriteMap.put(TileType.WATER , new GroundTileSprite(SpriteLoader.getSpriteFromPath("/assets/Water.png").getSpriteImage()));
spriteMap.put(TileType.WATER , new GroundTileSprite(SpriteLoader.getSpriteFromPath("/assets/Lava.png").getSpriteImage()));
}
public BufferedImage[][] getSpriteOfTile(TileType type, TileSprite.TileAbstractType[][] mask)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment