tengri/Content/Domains/Character/Input/IMC_CharacterItemHeld.ts

12 lines
533 B
TypeScript

// Content/Domains/Character/Input/IMC_CharacterItemHeld.ts
import { InputMappingContext } from '/TypeScript/Engine/InputMappingContext.ts';
import { Key } from '/TypeScript/Engine/Key.ts';
import { IA_Aim } from '/Content/Domains/Character/Input/Actions/IA_Aim.ts';
import { IA_Throw } from '/Content/Domains/Character/Input/Actions/IA_Throw.ts';
export const IMC_CharacterItemHeld = new InputMappingContext();
IMC_CharacterItemHeld.mapKey(IA_Aim, new Key('IA_Aim'));
IMC_CharacterItemHeld.mapKey(IA_Throw, new Key('IA_Throw'));