Logger.java 648 B

123456789101112131415161718192021222324252627
  1. package pathgame.logging;
  2. import pathgame.gameplay.Player;
  3. import pathgame.tilemap.TileMap;
  4. public class Logger
  5. {
  6. public static void onLevelReset(int level, Player p, TileMap map)
  7. {
  8. System.out.println("Level Reset " + level);
  9. }
  10. public static void onTileEnter(Player p, TileMap map, int x, int y)
  11. {
  12. System.out.println("Tile Enter " + x + " " + y);
  13. }
  14. public static void onTileLeave(Player p, TileMap map, int x, int y)
  15. {
  16. System.out.println("Tile Leave " + x + " " + y);
  17. }
  18. public static void onWin(Player p, TileMap map)
  19. {
  20. System.out.println("Win");
  21. }
  22. }