Merge pull request #366 from apollo-rsps/kotlin-experiments-areas

Port the area actions plugin
This commit is contained in:
Major authored and GitHub committed 2017-09-26 13:57:29 +01:00
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