16 lines
819 B
TypeScript
16 lines
819 B
TypeScript
// Content/Domains/Character/Input/IMC_CharacterDefault.ts
|
|
|
|
import { IA_Look } from '/Content/Domains/Character/Input/Actions/IA_Look.ts';
|
|
import { IA_Move } from '/Content/Domains/Character/Input/Actions/IA_Move.ts';
|
|
import { InputMappingContext } from '/TypeScript/Engine/InputMappingContext.ts';
|
|
import { Key } from '/TypeScript/Engine/Key.ts';
|
|
import { IA_Jump } from '/Content/Domains/Character/Input/Actions/IA_Jump.ts';
|
|
import { IA_Interact } from '/Content/Domains/Character/Input/Actions/IA_Interact.ts';
|
|
|
|
export const IMC_CharacterDefault = new InputMappingContext();
|
|
|
|
IMC_CharacterDefault.mapKey(IA_Look, new Key('IA_Look'));
|
|
IMC_CharacterDefault.mapKey(IA_Move, new Key('IA_Move'));
|
|
IMC_CharacterDefault.mapKey(IA_Jump, new Key('IA_Jump'));
|
|
IMC_CharacterDefault.mapKey(IA_Interact, new Key('IA_Interact'));
|