Revert "Merge branch 'update-game-tiles' into metadataScriptingApi"

This reverts commit 428625e61b, reversing
changes made to a3165a0540.
This commit is contained in:
GRL 2021-05-25 10:09:58 +02:00
parent 428625e61b
commit a7b09e91ba
2 changed files with 0 additions and 24 deletions

View file

@ -1,15 +0,0 @@
import * as tg from "generic-type-guard";
export const isChangeTileEvent = tg.isArray(
new tg.IsInterface().withProperties({
x: tg.isNumber,
y: tg.isNumber,
tile: tg.isUnion(tg.isNumber, tg.isString),
layer: tg.isUnion(tg.isNumber, tg.isString)
}).get()
);
/**
* A message sent from the game to the iFrame when a user enters or leaves a zone marked with the "zone" property.
*/
export type ChangeTileEvent = tg.GuardedType<typeof isChangeTileEvent>;