public void Initialize() { string str = "Model" + (id + 1); MakeModel(str); ModelInfo mi = ((ModelInfo)model["model"]); { mi.recCollision = mi.recVisible; } model["model"] = mi; switch ((string)parameters[str + "_Update"]) { case "Rotate90": break; default: funcs = null; break; } }
public NextAnimation(Animation a, bool u = false, UpdateFuncs c = null, bool f = true) { anim = a; useCommand = u; checkFuncs = c; flg = f; }