/**
 * Représente un robot
 */
public class Robot {
	private String name;
	private Point2D pos;
	private int energy;
	private int health;

	/** Crée un robot */
	public Robot(String name) {
		this.name = name;
		this.pos = new Point2D(0,0);
		this.energy = 100;
		this.health = 100;
	}

	/** @param health new health value */
	public void setHealth(int health) {this.health = health;}	

	/** @param energy new energy value */
	public void setEnergy(int energy) {this.energy = energy;}	

	/** @param position new position*/
	public void setPosition(int position) {this.position = position;}	

	/** @return The level of health of the robot*/
	public int getHealth() {return this.health;}	

	/** @return the energy of the robot*/
	public int getHealth() {return this.health;}	
}

@@ -87,18 +87,23 @@
 nt2D pos
+ition
 ;%0A
-
 %09private
@@ -218,16 +218,21 @@
 this.pos
+ition
  = new P
@@ -551,19 +551,23 @@
 osition(
+Po
 int
+2D
  positio
@@ -741,38 +741,38 @@
 %0A%09public int get
-Health
+Energy
 () %7Breturn this.
@@ -767,24 +767,121 @@
 return this.
-health
+energy;%7D%09%0A%0A%09/** @return the position of the robot*/%0A%09public Point2D getPosition() %7Breturn this.position
 ;%7D%09%0A%7D%0A

Add getters, change variable names, fix error