crummy
05/20/2018, 12:15 PMworld.actor.forEach { actor ->
actorModel.rebind { actor }
circle {
centerXProperty().bind(actorModel.x)
centerYProperty().bind(actorModel.y)
radius = 10.0
}
}
I don't quite understand how the model binding works (right now it prints them out with some default positioning). Given an ActorModel, and a list of observable Actors, can I re-use my ActorModel to display each?