1
0
forked from sent/waves
waves/public/assets/g/mario/settings/collisions.ts
2025-04-09 17:11:14 -05:00

27 lines
931 B
TypeScript

/// <reference path="../FullScreenMario.ts" />
module FullScreenMario {
"use strict";
FullScreenMario.settings.collisions = {
"groupNames": ["Solid", "Character"],
"keyGroupName": "groupType",
"globalCheckGenerators": {
"Character": FullScreenMario.prototype.generateCanThingCollide,
"Solid": FullScreenMario.prototype.generateCanThingCollide
},
"hitCheckGenerators": {
"Character": {
"Character": FullScreenMario.prototype.generateIsCharacterTouchingCharacter,
"Solid": FullScreenMario.prototype.generateIsCharacterTouchingSolid
}
},
"hitFunctionGenerators": {
"Character": {
"Solid": FullScreenMario.prototype.generateHitCharacterSolid,
"Character": FullScreenMario.prototype.generateHitCharacterCharacter
}
}
};
}