/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/secretdoor/Door.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1535 by torben, Wed Jun 29 14:57:08 2011 UTC revision 1536 by torben, Wed Jun 29 17:19:38 2011 UTC
# Line 25  class Door { Line 25  class Door {
25                    
26          int width;          int width;
27          int height;          int height;
28    
29            String owner;
30                    
31    
32          public Door(Block sign, int width, int height, DoorStorage store) throws ConflictingDoorException{          public Door(Block sign, int width, int height, DoorStorage store, String owner) throws ConflictingDoorException{
33                  leftUpper = sign.getLocation().clone();                  leftUpper = sign.getLocation().clone();
34                                    
35                  this.width = width;                  this.width = width;
36                  this.height = height;                  this.height = height;
37    
38                    this.owner = owner;
39                                    
40                  blocks = new Location[width][height];                            blocks = new Location[width][height];          
41    
# Line 81  class Door { Line 85  class Door {
85                                    
86                  width = Integer.parseInt( parts[6] );                  width = Integer.parseInt( parts[6] );
87                  height = Integer.parseInt( parts[7] );                  height = Integer.parseInt( parts[7] );
88                    owner = parts[8];
89    
90    
91                  blocks = new Location[width][height];                            blocks = new Location[width][height];          
# Line 136  class Door { Line 141  class Door {
141                                    
142                  sb.append( ":" + width );                  sb.append( ":" + width );
143                  sb.append( ":" + height );                  sb.append( ":" + height );
144                    sb.append( ":" + owner);
145    
146                  return sb.toString();                  return sb.toString();
147          }          }

Legend:
Removed from v.1535  
changed lines
  Added in v.1536

  ViewVC Help
Powered by ViewVC 1.1.20