mirror of
https://github.com/Klagarge/PokeHES.git
synced 2025-03-14 06:44:33 +00:00
21 lines
334 B
Java
21 lines
334 B
Java
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;
|
|
}
|
|
}
|