/*
* Copyright (C) 2016 eccentric_nz
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package me.eccentric_nz.TARDIS.rooms;
import me.eccentric_nz.TARDIS.JSON.JSONObject;
import me.eccentric_nz.TARDIS.enumeration.COMPASS;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
/**
* Data storage class for room building. We can just create a new instance and
* pass this around to the various methods instead of a whole bunch of
* parameters.
*
* The TARDIS had a full kitchen which included a refrigerator.
*
* @author eccentric_nz
*/
public class TARDISRoomData {
COMPASS direction;
String room;
Location location;
Block block;
JSONObject schematic;
int tardis_id;
Material middleType, floorType;
byte middleData, floorData;
public TARDISRoomData() {
}
public COMPASS getDirection() {
return direction;
}
public void setDirection(COMPASS direction) {
this.direction = direction;
}
public String getRoom() {
return room;
}
public void setRoom(String room) {
this.room = room;
}
public Location getLocation() {
return location;
}
public void setLocation(Location location) {
this.location = location;
}
public Block getBlock() {
return block;
}
public void setBlock(Block block) {
this.block = block;
}
public JSONObject getSchematic() {
return schematic;
}
public void setSchematic(JSONObject schematic) {
this.schematic = schematic;
}
public Material getMiddleType() {
return middleType;
}
public void setMiddleType(Material middleType) {
this.middleType = middleType;
}
public byte getMiddleData() {
return middleData;
}
public void setMiddleData(byte middleData) {
this.middleData = middleData;
}
public Material getFloorType() {
return floorType;
}
public void setFloorType(Material floorType) {
this.floorType = floorType;
}
public byte getFloorData() {
return floorData;
}
public void setFloorData(byte floorData) {
this.floorData = floorData;
}
public int getTardis_id() {
return tardis_id;
}
public void setTardis_id(int tardis_id) {
this.tardis_id = tardis_id;
}
}