Exemplo n.º 1
0
        public static LNRepeatForever Action(LNAction action)
        {
            LNRepeatForever forever = new LNRepeatForever();

            forever._action = action;
            return(forever);
        }
Exemplo n.º 2
0
 public virtual void RunAction(LNAction action)
 {
     if (content != null)
     {
         content.RunAction(action);
     }
 }
Exemplo n.º 3
0
		public static LNRepeat Action(LNAction action, int t) {
			LNRepeat repeat = new LNRepeat();
			repeat.time = t;
			repeat._action = action;
			repeat._duration = t * action.GetDuration();
			return repeat;
		}
Exemplo n.º 4
0
 public static LNEase Action(Easing e, LNAction act)
 {
     LNEase action = new LNEase();
     action._duration = act._duration;
     action._action = act;
     act._easing = e;
     return action;
 }
Exemplo n.º 5
0
        public static LNSpeed Action(LNAction action, float s)
        {
            LNSpeed speed = new LNSpeed();

            speed._other = action;
            speed._speed = s;
            return(speed);
        }
Exemplo n.º 6
0
        public static LNRepeat Action(LNAction action, int t)
        {
            LNRepeat repeat = new LNRepeat();

            repeat.time      = t;
            repeat._action   = action;
            repeat._duration = t * action.GetDuration();
            return(repeat);
        }
Exemplo n.º 7
0
        public static LNEase Action(Easing e, LNAction act)
        {
            LNEase action = new LNEase();

            action._duration = act._duration;
            action._action   = act;
            act._easing      = e;
            return(action);
        }
Exemplo n.º 8
0
		public static LNSpeed Action(LNAction action, float s) {
			LNSpeed speed = new LNSpeed();
			speed._other = action;
			speed._speed = s;
			return speed;
		}
Exemplo n.º 9
0
		public static LNRepeatForever Action(LNAction action) {
			LNRepeatForever forever = new LNRepeatForever();
			forever._action = action;
			return forever;
		}