Browse Source

rs constructor completed

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
930aa73657
  1. 16
      src/engine/objects/ZoneTemplate.java

16
src/engine/objects/ZoneTemplate.java

@ -38,14 +38,14 @@ public class ZoneTemplate { @@ -38,14 +38,14 @@ public class ZoneTemplate {
this.templateID = rs.getInt("template");
this.zone_type = rs.getString("zone_type");
this.zone_name = rs.getString("zone_name");
this.peace_zone = rs.getString("peace_zone");
this.major_radius = rs.getFloat("major_radius");
this.minor_radius = rs.getFloat("minor_radius");
this.min_blend = rs.getFloat("min_blend");
this.max_blend = rs.getFloat("max_blend");
this.has_water = rs.getString("has_water");
this.sea_level = rs.getFloat("sea_level");
this.has_terrain = rs.getString("has_terrain");
this.peace_zone = rs.getString("zone_peace_zone");
this.major_radius = rs.getFloat("zone_major_radius");
this.minor_radius = rs.getFloat("zone_minor_radius");
this.min_blend = rs.getFloat("zone_min_blend");
this.max_blend = rs.getFloat("zone_max_blend");
this.has_water = rs.getString("zone_has_water");
this.sea_level = rs.getFloat("zone_sea_level");
this.has_terrain = rs.getString("zone_has_terrain");
this.terrain_type = rs.getString("terrain_type");
this.terrain_max_y = rs.getFloat("terrain_max_y");
this.terrain_image = rs.getInt("terrain_image");

Loading…
Cancel
Save