This commit is contained in:
aPunch 2012-02-22 17:59:51 -06:00
parent 7c28ca4807
commit 4720a4bd4d
5 changed files with 21 additions and 14 deletions

View File

@ -1,16 +1,19 @@
package net.citizensnpcs.editor;
import org.bukkit.entity.Player;
public class EquipmentEditor implements Editor {
private Player player;
public EquipmentEditor(Player player) {
this.player = player;
}
@Override
public void begin() {
// TODO Auto-generated method stub
}
@Override
public void end() {
// TODO Auto-generated method stub
}
}

View File

@ -1,15 +1,19 @@
package net.citizensnpcs.editor;
import org.bukkit.entity.Player;
public class TextEditor implements Editor {
private Player player;
public TextEditor(Player player) {
this.player = player;
}
@Override
public void begin() {
// If this doesn't work I quit the internet.
}
@Override
public void end() {
// TODO Auto-generated method stub
}
}

View File

@ -1,4 +1,4 @@
package net.citizensnpcs.trait;
package net.citizensnpcs.trait.waypoint;
import org.bukkit.Location;
@ -8,4 +8,4 @@ public class Waypoint {
public Waypoint(Location location) {
this.location = location;
}
}
}

View File

@ -1,4 +1,4 @@
package net.citizensnpcs.trait;
package net.citizensnpcs.trait.waypoint;
import net.citizensnpcs.api.npc.ai.NavigationCallback;
import net.citizensnpcs.editor.Editor;
@ -6,9 +6,10 @@ import net.citizensnpcs.editor.Editor;
import org.bukkit.entity.Player;
public interface WaypointProvider {
public Editor createEditor(Player player);
public void addWaypoint(Waypoint waypoint);
public NavigationCallback getCallback();
}
}

View File

@ -1,4 +1,4 @@
package net.citizensnpcs.trait;
package net.citizensnpcs.trait.waypoint;
import net.citizensnpcs.api.exception.NPCLoadException;
import net.citizensnpcs.api.npc.NPC;
@ -21,6 +21,5 @@ public class Waypoints extends Trait {
@Override
public void save(DataKey key) {
// TODO Auto-generated method stub
}
}
}