Changed GameCharacter to include sprites and draw method.
Added ScifiCritters testspirtes.
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
package netwerkprog.game.client.game.characters;
|
||||
|
||||
import com.badlogic.gdx.Gdx;
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import netwerkprog.game.util.game.Character;
|
||||
import netwerkprog.game.util.game.GameCharacter;
|
||||
import netwerkprog.game.util.game.Faction;
|
||||
|
||||
public class DevTest1 extends Character {
|
||||
public class DevTest1 extends GameCharacter {
|
||||
public DevTest1() {
|
||||
super("DevTest1", Faction.HACKER, new Texture(Gdx.files.internal("core/assets/george.png")));
|
||||
super("DevTest1", Faction.HACKER, "core/assets/ScifiCritters4.PNG");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package netwerkprog.game.client.game.characters;
|
||||
|
||||
import netwerkprog.game.util.game.Character;
|
||||
import netwerkprog.game.util.game.GameCharacter;
|
||||
import netwerkprog.game.util.game.Faction;
|
||||
|
||||
public class DevTest2 extends Character {
|
||||
public class DevTest2 extends GameCharacter {
|
||||
public DevTest2() {
|
||||
super("DevTest2", Faction.MEGACORPORATION, null);
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package netwerkprog.game.client.game.characters;
|
||||
|
||||
import netwerkprog.game.util.game.Character;
|
||||
import netwerkprog.game.util.game.GameCharacter;
|
||||
import netwerkprog.game.util.game.Faction;
|
||||
|
||||
public class DevTest3 extends Character {
|
||||
public class DevTest3 extends GameCharacter {
|
||||
public DevTest3() {
|
||||
super("DevTest3", Faction.AI, null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user