package testing

import model.component.character.Health
import model.component.character.Score
import model.component.movement.Position
import model.component.movement.Velocity
import model.component.visual.ImagePath
import model.entity.Entity
import api.IEntity

/**
 * Created by Tom on 4/7/2016.
 */
class BenTestCharacter {
	IEntity run(String IMAGE_PATH) {
		IEntity character = new Entity()
		character.addComponent(new Health((double) 100))
		character.addComponent(new Score((double) 100))
		Position pos = new Position(250.0, 250.0)
		character.addComponent(pos)
		character.addComponent(new ImagePath(IMAGE_PATH))
		character.addComponent(new Velocity(10.0, 10.0))
		return character
	}
}

@@ -390,16 +390,17 @@
 Entity()
+;
 %0A%09%09chara
@@ -442,16 +442,17 @@
 e) 100))
+;
 %0A%09%09chara
@@ -493,16 +493,17 @@
 e) 100))
+;
 %0A%09%09Posit
@@ -538,16 +538,17 @@
 , 250.0)
+;
 %0A%09%09chara
@@ -569,16 +569,17 @@
 ent(pos)
+;
 %0A%09%09chara
@@ -622,16 +622,17 @@
 E_PATH))
+;
 %0A%09%09chara
@@ -674,16 +674,17 @@
 , 10.0))
+;
 %0A%09%09retur
@@ -694,14 +694,15 @@
 haracter
+;
 %0A%09%7D%0A%7D%0A

Update BenTestCharacter.java