Expanded Character to include sprites and positions.
Added George sprites for testing. TestCode for George
This commit is contained in:
15
core/src/test/java/CharacterLoadingTest.java
Normal file
15
core/src/test/java/CharacterLoadingTest.java
Normal file
@@ -0,0 +1,15 @@
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import netwerkprog.game.client.game.characters.DevTest1;
|
||||
import netwerkprog.game.util.game.Character;
|
||||
import org.junit.Test;
|
||||
|
||||
public class CharacterLoadingTest {
|
||||
|
||||
@Test
|
||||
public void george() {
|
||||
String path = "core/assets/george.png";
|
||||
Texture texture = new Texture(Gdx.files.internal(path));
|
||||
Character george = new DevTest1();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user