public InputHandler(Game game, string keyConfigFile, Actor target) : base(game) { keyConfig = new KeyConfig(); LoadKeyConfig(keyConfigFile); SetTarget(target); }
public void SetTarget(Actor actor) { target = actor; }
public void AddActor(Actor actor) { actors.Add(actor); }