public static CollisionHandler Create(ValueKeeper <int> keeper, int duration) { handler = CollisionHandler.Create(); handler.Left = handler.Right = handler.Bot = handler.Top = (source, target) => Bot(keeper, target, duration); return(handler); }
public static CollisionHandler Create() { handler = CollisionHandler.Create(); handler.Left = Left; handler.Right = Right; handler.Bot = Bot; handler.Top = Top; return(handler); }