예제 #1
0
        public TargetingClass()
        {
            Cache    = new TargetingCache();
            Handler  = new TargetingHandler();
            Movement = new TargetMovement();

            //Reset Vars on target change!
            Cache.TargetChanged += Movement.OnTargetChanged;
        }
예제 #2
0
        public TargetingClass()
        {
            Cache = new TargetingCache();
            Handler=new TargetingHandler();
            Movement=new TargetMovement();

            //Reset Vars on target change!
            Cache.TargetChanged += Movement.OnTargetChanged;
        }
예제 #3
0
 internal void OnTargetChanged(object cacheobj, TargetingCache.TargetChangedArgs args)
 {
     NewTargetResetVars();
 }