@bscotch/stitch
Version:
Stitch: The GameMaker Studio 2 Asset Pipeline Development Kit.
19 lines • 452 B
JavaScript
export class GmlToken {
name;
location;
constructor(name, location) {
this.name = name;
this.location = location;
}
isTheSameToken(otherToken) {
return (this.name == otherToken.name &&
this.location.isSameLocation(otherToken.location));
}
toJSON() {
return {
name: this.name,
location: this.location,
};
}
}
//# sourceMappingURL=GmlToken.js.map