Expanded Character to include sprites and positions.
Added George sprites for testing. TestCode for George
This commit is contained in:
@@ -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")));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user