a t o m i q u e

This commit is contained in:
minjaesong
2022-12-17 21:19:53 +09:00
parent 5aa275fa77
commit e1e1a2f5db
8 changed files with 148 additions and 134 deletions

View File

@@ -29,7 +29,7 @@ class WorldRadar(pngfile: FileHandle) : BlockTransferInterface(false, true) {
private val STONE_OUT = 7.toByte()
init {
statusCode = TestDiskDrive.STATE_CODE_STANDBY
statusCode.set(TestDiskDrive.STATE_CODE_STANDBY)
val worldTex = Pixmap(pngfile)
for (y in 0 until worldTex.height) { for (x in 0 until worldTex.width) {
@@ -129,11 +129,11 @@ class WorldRadar(pngfile: FileHandle) : BlockTransferInterface(false, true) {
oldCmdbuf = cmdbuf
statusCode = TestDiskDrive.STATE_CODE_STANDBY
statusCode.set(TestDiskDrive.STATE_CODE_STANDBY)
}
else {
resetBuf()
statusCode = TestDiskDrive.STATE_CODE_ILLEGAL_COMMAND
statusCode.set(TestDiskDrive.STATE_CODE_ILLEGAL_COMMAND)
}
}
}