mirror of
				https://github.com/Klagarge/PokeHES.git
				synced 2025-10-31 03:39:16 +00:00 
			
		
		
		
	convert with lib
This commit is contained in:
		
							
								
								
									
										31
									
								
								src/Entity/Player.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								src/Entity/Player.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,31 @@ | ||||
| package Entity; | ||||
|  | ||||
| import com.badlogic.gdx.math.Vector2; | ||||
|  | ||||
| public class Player extends Character{ | ||||
|  | ||||
|     private int xp; | ||||
|  | ||||
|     public Player(String name) { | ||||
|         super(name); | ||||
|         //TODO Auto-generated constructor stub | ||||
|     } | ||||
|  | ||||
|     public void addXp(int xp){ | ||||
|  | ||||
|     } | ||||
|  | ||||
|     public void move(int x, int y){ | ||||
|  | ||||
|     } | ||||
|  | ||||
|     public void move(Vector2 vMove){ | ||||
|         move((int)vMove.x, (int)vMove.y); | ||||
|     } | ||||
|  | ||||
|     @Override | ||||
|     protected void removedPv(int pv) { | ||||
|         // TODO Auto-generated method stub | ||||
|          | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user