Esempio n. 1
0
        new public static LNMoveBy Action(float duration, Vector2f pos)
        {
			LNMoveBy by = new LNMoveBy();
			by._diff = pos;
			by._duration = duration;
			by._lastTime = 0f;
			return by;
		}
Esempio n. 2
0
        new public static LNMoveBy Action(float duration, Vector2f pos)
        {
            LNMoveBy by = new LNMoveBy();

            by._diff     = pos;
            by._duration = duration;
            by._lastTime = 0f;
            return(by);
        }
Esempio n. 3
0
 new public static LNMoveBy Action(float duration, float dx, float dy)
 {
     return(LNMoveBy.Action(duration, new Vector2f(dx, dy)));
 }