public SerializedSequence() { //que no truene llamar el delegate sin ninguna inicializacion onSequenceEnd += foo; onFrame += foo; //Sprite foo default currentSprite = new MySprite(); currentSprite.id = -1; }
public SerializedSequence(SerializedSequence copyFrom) { //que no truene llamar el delegate sin ninguna inicializacion onSequenceEnd += foo; onFrame += foo; FPS = copyFrom.FPS; FPSUpdate(); //Sprite foo default currentSprite = new MySprite(); currentSprite.id = -1; imageReference = copyFrom.imageReference; frames = (MySprite[])copyFrom.frames.Clone(); readAndFillFrames(); }