FFFFFFFFFFFFFUUUUUUUUUUUUUUU

This commit is contained in:
Tomasz Piechucki 2011-04-20 18:02:57 +00:00
parent 2d27380616
commit a99078d330
2 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@ public class WindaView extends FrameView{
}
private void setupAnimation(){
int []passangers = new int[this.floor_count+1];
int []passangers = new int[this.floor_count];
ArrayList<Pietro> temp = (ArrayList) this.w.GetTrasa();
for(int i=0;i<temp.size();i++){
int floor = temp.get(i).numerPietra;

View file

@ -58,7 +58,7 @@ public class Winda {
}
public void SetNowyProjekt(){
this.pasazerowieCollection.clear();
this.pasazerowieCollection = new ArrayList<Pasazer>();
IloscPasazerow = 0;
}
@ -84,7 +84,7 @@ public class Winda {
}
public void WczytajPasazerow(String filename){
this.pasazerowieCollection.clear();
this.pasazerowieCollection = new ArrayList<Pasazer>();
pasazerowieCollection = parser.Wczytaj(filename);
IloscPasazerow = pasazerowieCollection.size();
}