Skip to content

Commit

Permalink
Some Monster got nerfed >:D
Browse files Browse the repository at this point in the history
Unnecessary method deleted

Signed-off-by: mourthag <[email protected]>
  • Loading branch information
mourthag committed Jun 6, 2014
1 parent 477f57d commit 29cd429
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Monster1.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public Monster1(){
imageLoc = "monster-brown.png"; // choose image
health=300;
damage=10;
dropTime = 30;
dropTime = 75;
angularSpeed = 2;
speed = (float)0.1;
range = 8;
Expand Down
2 changes: 1 addition & 1 deletion Monster2.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class Monster2 extends Monster
{
public Monster2(){
health=300;
damage=5;
damage=1;
speed=(float)0.8;
angularSpeed=6;
range = 10;
Expand Down
2 changes: 1 addition & 1 deletion Player.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public Player(){
health=100;
damage=5;
space=false;
dropTime = 60;
dropTime = 50;
speed=1;
angularSpeed=3;
imageLoc = "player.png"; // choose image
Expand Down
18 changes: 0 additions & 18 deletions Wall.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,4 @@ public Wall()
heightMap[0] = true; //floors are at height 0
heightMap[1] = true; //... and 1.
}

/**
*
*/
public int roomsInRange()
{
int roomsInRange = 0;
int distance;
for(distance = 0; roomsInRange == 0; distance++)
{
List<Room> allRooms = getObjectsInRange(distance, Room.class);
for(Room curRoom: allRooms)
{
if(curRoom != parent) roomsInRange++; //check all walls and add those who arent applied to the Parent of this Wall
}
}
return distance;
}
}

0 comments on commit 29cd429

Please sign in to comment.