Expanded Character to include sprites and positions.

Added George sprites for testing.
TestCode for George
This commit is contained in:
MickWerf
2020-05-25 20:58:06 +02:00
parent a3b14a9273
commit cc37fc2858
7 changed files with 77 additions and 4 deletions

View File

@@ -1,4 +1,12 @@
package netwerkprog.game.client.game.characters;
public class DevTest1 {
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.Texture;
import netwerkprog.game.util.game.Character;
import netwerkprog.game.util.game.Faction;
public class DevTest1 extends Character {
public DevTest1() {
super("DevTest1", Faction.HACKER, new Texture(Gdx.files.internal("core/assets/george.png")));
}
}

View File

@@ -1,4 +1,10 @@
package netwerkprog.game.client.game.characters;
public class DevTest2 {
import netwerkprog.game.util.game.Character;
import netwerkprog.game.util.game.Faction;
public class DevTest2 extends Character {
public DevTest2() {
super("DevTest2", Faction.MEGACORPORATION, null);
}
}

View File

@@ -0,0 +1,10 @@
package netwerkprog.game.client.game.characters;
import netwerkprog.game.util.game.Character;
import netwerkprog.game.util.game.Faction;
public class DevTest3 extends Character {
public DevTest3() {
super("DevTest3", Faction.AI, null);
}
}