Пример #1
0
        public CCFollowState(CCFollow action, CCNode target) : base(action, target)
        {
            // Cache these structs so we don't have to get them at each running step
            CCFollow followAction = FollowAction;

            cachedBoundary       = followAction.Boundary;
            cachedHalfScreenSize = followAction.HalfScreenSize;
        }
Пример #2
0
 public CCFollowState (CCFollow action, CCNode target) : base (action, target)
 {
     // Cache these structs so we don't have to get them at each running step
     CCFollow followAction = FollowAction;
     cachedBoundary = followAction.Boundary;
     cachedHalfScreenSize = followAction.HalfScreenSize;
 }