Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.badlogic.gdx.Gdx;
- import com.badlogic.gdx.Input;
- import com.badlogic.gdx.Input.Keys;
- import com.badlogic.gdx.graphics.Texture;
- import com.badlogic.gdx.graphics.g2d.SpriteBatch;
- public class PlayerCharacter extends Creature {
- public int Cha;
- public Texture image=new Texture("knighttest.png");;
- //SpriteBatch batch;
- public int locX;
- public int locY;
- //public Character(int str, int spd, int inte, int def, int luck, int maxhp,int Cha) {
- // super(str, spd, inte, def, luck, maxhp);
- // this.Cha = Cha;
- //}
- public void render(SpriteBatch batch,PlayerCharacter activePlayer){
- batch.draw(this.image, locX, locY, 16, 16);
- }
- public void update(){
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment