Пример #1
0
        public InputHandler(Game game, string keyConfigFile, Actor target)
            : base(game)
        {
            keyConfig = new KeyConfig();
            LoadKeyConfig(keyConfigFile);

            SetTarget(target);
        }
Пример #2
0
 public void SetTarget(Actor actor)
 {
     target = actor;
 }
Пример #3
0
 public void AddActor(Actor actor)
 {
     actors.Add(actor);
 }