QWD7VXSWYVS2NTZ3W3JS6QCC3ZATRLOG6US6BWG3BEDVKU7SWNVQC
ISOPLACCA5LP37URPIYP6XCEAUMYD5ORSM2V5BBHRUBUJFZDD6XQC
X7IQA5I46B6EHXPBIWTPCMZR4RZQ7PSJN5IMSEHA7H6F2NWQSNSQC
Z3E7XJOW6NSBDYRDKSGTOAEJSPATAUX4JUFCL4DIL3372GL4K52QC
PSY4Y3X4ZWLXR2FEDR2W5E4SW2ASS4BPBOT4W5TDLNU2NCFZISNAC
import { enumKeys } from "../lib/util/misc";
/** * Player intents == what they want to do when they press certain mouse/keyboard keys. This is decoupled * from their actual keyboard keys to make remapping easier. */
/**
* Player intents == what they want to do when they press certain mouse/keyboard keys. This is decoupled
* from their actual keyboard keys to make remapping easier.
*/
// ??? What is going onexport const noIntent = Object.keys(IntentName).reduce((object, key) => { object[key as keyof typeof IntentName] = false;
// ??? What is going on
export const noIntent = Object.keys(IntentName).reduce((object, key) => {
object[key as keyof typeof IntentName] = false;
export const noIntent = enumKeys(IntentName).reduce((object: Intent, key) => { object[key] = false;
export const noIntent = enumKeys(IntentName).reduce((object: Intent, key) => {
object[key] = false;
// export type ResourceTypeAndModifier = [ResourceType.Nothing] | ([ResourceType, ResourceModifier]);