Exemplo n.º 1
0
        public InputHandler(Game game, string keyConfigFile, Actor target)
            : base(game)
        {
            keyConfig = new KeyConfig();
            LoadKeyConfig(keyConfigFile);

            SetTarget(target);
        }
Exemplo n.º 2
0
 public void SetTarget(Actor actor)
 {
     target = actor;
 }
Exemplo n.º 3
0
 public void AddActor(Actor actor)
 {
     actors.Add(actor);
 }