@@ -0,0 +1,747 @@
+package com.github.awvalenti.cruzes.implementacao;%0A%0Aimport java.awt.image.BufferedImage;%0Aimport java.io.IOException;%0A%0Aenum RecortePeca %7B%0A%09%0A%09XIS(60,18,60,60), MAIS(1,18,60,60), NULO(1,1,1,1);%0A%0A%09private BufferedImage figuraPeca;%0A%09private String caminhoImagemLocal = %22imagemPecas.png%22;%0A%0A%09public BufferedImage getBufferedImage() %7B%0A%09%09return figuraPeca;%0A%09%7D%0A%0A%09private RecortePeca(int x, int y, int largura, int altura) %7B%0A%09%09%0A%09%09CarregadorImagem loader = new CarregadorImagem();%0A%09%09BufferedImage spriteSheet = null;%0A%09%09try %7B%0A%09%09%09spriteSheet = loader.carregarImagem(caminhoImagemLocal);%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%0A%09%09SpriteSheet ss = new SpriteSheet(spriteSheet);%0A%0A%09%09this.figuraPeca = ss.recortarImagem(x, y, largura, altura);%0A%09%7D%0A%7D%0A

Create RecortePeca.java