public void MoveSpriteEx(int layer, string filename, Vector3[] points, float alpha, float time, bool isblocking) { Layer i = GetLayer(layer); if (filename != string.Empty) { i.CrossfadeLayer(filename, time, isblocking); } gameSystem.RegisterAction(delegate { i.MoveLayerEx(points, points.Length, 1f - alpha, time); if (isblocking) { gameSystem.AddWait(new Wait(time, WaitTypes.WaitForMove, i.FinishAll)); } }); }
public void ChangeBustshot(int layer, string textureName, float wait, bool isblocking) { Layer layer2 = GetLayer(layer); layer2.CrossfadeLayer(textureName, wait, isblocking); }