我希望具有蓝色 FillColor 的代理在 selectOutout 块处采取“true”退出。我无法让“如果条件为真”条件起作用。
已经尝试过使用参数、变量和不同的引号,但无法得到正确的结果。 有人可以帮忙吗?
代理没有颜色。代理内的动画元素具有颜色。
如果代理中有一个蓝色的矩形
myRectangle
agent.myRectangle.getColor.equals(Color.blue)