i'v got a porblem with multiple classes, iv got a main Class "App" that creates a Crane Thread and another class "ContainerShip". In this ContainerShip class i'v got an array of Containers, which is another class.
Now the problem is that The Crane class needs to "pick" the containers from the list thats made in the ContainerShip class. So how can i link that Crane Thread with the ContainerShip class.
now i want to link Crane->Containership->Container
My first post :D
When you create the Crane class, pass it a reference to the ContainerShip class.