+0
-4
lines changedFilter options
+0
-4
lines changed Original file line number Diff line number Diff line change
@@ -180,10 +180,6 @@ class EntityBuilder {
180
180
entity.zIndex = z
181
181
}
182
182
183
-
fun onClick(action: (Entity) -> Unit) = this.also {
184
-
onClick(Consumer(action))
185
-
}
186
-
187
183
fun onClick(action: Consumer<Entity>) = this.also {
188
184
entity.viewComponent.addEventHandler(MouseEvent.MOUSE_CLICKED, EventHandler { action.accept(entity) })
189
185
}
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4