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

Port the area actions plugin
This commit is contained in:
Major
2017-09-26 13:57:29 +01:00
committed by GitHub
7 changed files with 266 additions and 67 deletions
@@ -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