mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 11:17:19 +00:00
Merge pull request #366 from apollo-rsps/kotlin-experiments-areas
Port the area actions plugin
This commit is contained in:
commit
397d9b2d6a
7 files changed
+266
-67
No files matched your search
@@ -0,0 +1,9 @@
|
||||
package org.apollo.game.plugins.api
|
||||
|
||||
import org.apollo.game.model.Position
|
||||
|
||||
// Support destructuring a Position into its components.
|
||||
|
||||
operator fun Position.component1(): Int = x
|
||||
operator fun Position.component2(): Int = y
|
||||
operator fun Position.component3(): Int = height
|
||||
Reference in new issue
Block a user