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:
		
							
								
								
									
										20
									
								
								src/Entity/Entity.java
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								src/Entity/Entity.java
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| package Entity; | ||||
|  | ||||
| import com.badlogic.gdx.math.Vector2; | ||||
|  | ||||
| public abstract class Entity { | ||||
|     private Vector2 position; | ||||
|     private String name; | ||||
|  | ||||
|     public Entity(String name){ | ||||
|         this.name = name; | ||||
|     } | ||||
|  | ||||
|     public Vector2 getPosition() { | ||||
|         return position; | ||||
|     } | ||||
|  | ||||
|     public String getName() { | ||||
|         return name; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user