Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Commit

Permalink
Remove junk code
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAmazingAussie committed Sep 22, 2017
1 parent 7372859 commit ae94421
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 49 deletions.
13 changes: 0 additions & 13 deletions Icarus/src/org/alexdev/icarus/game/room/scheduler/RoomTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,4 @@ public interface RoomTask {
* Execute the task.
*/
public void execute();

/**
* Gets the type of thread, whether it's run once or always occurring.
* @return
*/
public TaskType getType();

/**
* Sets the thread type.
*
* @param type the new thread type
*/
public void setThreadType(TaskType type);
}
12 changes: 0 additions & 12 deletions Icarus/src/org/alexdev/icarus/game/room/tasks/CarryItemTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
import org.alexdev.icarus.game.entity.EntityType;
import org.alexdev.icarus.game.room.Room;
import org.alexdev.icarus.game.room.scheduler.RoomTask;
import org.alexdev.icarus.game.room.scheduler.TaskType;
import org.alexdev.icarus.game.room.user.RoomUser;

public class CarryItemTask implements RoomTask {

private Room room;
private TaskType type;

public CarryItemTask(Room room) {
this.room = room;
Expand Down Expand Up @@ -44,14 +42,4 @@ public void execute() {
}
}
}

@Override
public TaskType getType() {
return type;
}

@Override
public void setThreadType(TaskType type) {
this.type = type;
}
}
12 changes: 0 additions & 12 deletions Icarus/src/org/alexdev/icarus/game/room/tasks/PetTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
import org.alexdev.icarus.game.pets.Pet;
import org.alexdev.icarus.game.room.Room;
import org.alexdev.icarus.game.room.scheduler.RoomTask;
import org.alexdev.icarus.game.room.scheduler.TaskType;

public class PetTask implements RoomTask {

private Room room;
private TaskType type;

public PetTask(Room room) {
this.room = room;
Expand All @@ -36,14 +34,4 @@ public void execute() {

}
}

@Override
public TaskType getType() {
return type;
}

@Override
public void setThreadType(TaskType type) {
this.type = type;
}
}
13 changes: 1 addition & 12 deletions Icarus/src/org/alexdev/icarus/game/room/tasks/RollerTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@
import org.alexdev.icarus.game.room.Room;
import org.alexdev.icarus.game.room.model.RoomTile;
import org.alexdev.icarus.game.room.scheduler.RoomTask;
import org.alexdev.icarus.game.room.scheduler.TaskType;
import org.alexdev.icarus.messages.outgoing.room.items.SlideObjectMessageComposer;

import com.google.common.collect.Lists;

public class RollerTask implements RoomTask {

private Room room;
private TaskType type;

public RollerTask(Room room) {
this.room = room;
}
Expand Down Expand Up @@ -147,14 +146,4 @@ public void execute() {
}
}
}

@Override
public TaskType getType() {
return type;
}

@Override
public void setThreadType(TaskType type) {
this.type = type;
}
}

0 comments on commit ae94421

Please sign in to comment.