-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
37 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
...lient/src/jvmMain/kotlin/spaceEngineers/util/generator/map/LabRecruitsControllerRunner.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
package spaceEngineers.util.generator.map | ||
|
||
import kotlinx.coroutines.runBlocking | ||
import spaceEngineers.controller.SpaceEngineersJavaProxyBuilder | ||
import spaceEngineers.controller.extend | ||
import spaceEngineers.labrecruits.LabRecruitsController | ||
|
||
|
||
fun main() = runBlocking { | ||
val batch = SpaceEngineersJavaProxyBuilder().localhost() | ||
val se = batch.extend() | ||
val labRecruitsController = LabRecruitsController(se) | ||
with(labRecruitsController) { | ||
println("goto b0") | ||
goToButton("b0") | ||
|
||
println("press b0") | ||
pressButton("b0") | ||
|
||
println("goto door0") | ||
goToDoor("door0") | ||
|
||
println("goto door1") | ||
goToDoor("door1") | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters