This commit is contained in:
aPunch 2012-02-22 17:59:51 -06:00
parent 2f6d5d8ec3
commit d5ccfeaae4
5 changed files with 21 additions and 14 deletions

View File

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

View File

@ -1,15 +1,19 @@
package net.citizensnpcs.editor; package net.citizensnpcs.editor;
import org.bukkit.entity.Player;
public class TextEditor implements Editor { public class TextEditor implements Editor {
private Player player;
public TextEditor(Player player) {
this.player = player;
}
@Override @Override
public void begin() { public void begin() {
// If this doesn't work I quit the internet.
} }
@Override @Override
public void end() { 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; import org.bukkit.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.api.npc.ai.NavigationCallback;
import net.citizensnpcs.editor.Editor; import net.citizensnpcs.editor.Editor;
@ -6,6 +6,7 @@ import net.citizensnpcs.editor.Editor;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
public interface WaypointProvider { public interface WaypointProvider {
public Editor createEditor(Player player); public Editor createEditor(Player player);
public void addWaypoint(Waypoint waypoint); public void addWaypoint(Waypoint waypoint);

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.exception.NPCLoadException;
import net.citizensnpcs.api.npc.NPC; import net.citizensnpcs.api.npc.NPC;
@ -21,6 +21,5 @@ public class Waypoints extends Trait {
@Override @Override
public void save(DataKey key) { public void save(DataKey key) {
// TODO Auto-generated method stub
} }
} }