FFFFFFFFFFFFFUUUUUUUUUUUUUUU
This commit is contained in:
parent
2d27380616
commit
a99078d330
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue