@@ -0,0 +1,786 @@
+package com.leapmotionsi;%0A%0Aimport javax.swing.ImageIcon;%0A%0Apublic class Enemy extends Sprite %7B%0A%0A%09int health = 5;%0A%09%0A%09public Enemy() %7B%0A%09    setImage((new ImageIcon(this.getClass().getResource(%22enemy.png%22))).getImage());%0A%09    setX(350);%0A%09    setY(0);%0A%09%7D%0A    %0A%09/**%0A%09 * %09First moves the enemy down into position, then moves it left or right towards the player.%0A%09 */%0A%09public void move(Player player) %7B%0A%09%09System.out.println(this.getX() + %22 %7CE%7C %22 + this.getY());%0A%09%09if (this.getY() %3C 100) this.setY(this.getY() + 5);%0A%09%09else if (this.getX() %3C player.getX()) this.setX(this.getX() + 5);%0A%09%09else if (this.getX() %3E player.getX()) this.setX(this.getX() - 5);%0A%09%7D%0A%09%0A%09public boolean inPosition() %7B%0A%09%09return this.getY() %3E= 100;%0A%09%7D%0A%09%0A%09public boolean takeDamage() %7B%0A%09%09health -= 1;%0A%09%09return health == 0;%0A%09%7D%0A%7D%0A

Create Enemy.java