public SequenceSource( ActorDelegate onHitActor, Vector3Delegate onHitPosition, uint rootID, bool removeAtEndOfTurn) { m_onHitActor = onHitActor; m_onHitPosition = onHitPosition; RootID = rootID; RemoveAtEndOfTurn = removeAtEndOfTurn; }
public SequenceSource( ActorDelegate onHitActor, Vector3Delegate onHitPosition, bool removeAtEndOfTurn = true, SequenceSource parentSource = null, IBitStream stream = null) { m_onHitActor = onHitActor; m_onHitPosition = onHitPosition; RemoveAtEndOfTurn = removeAtEndOfTurn; WaitForClientEnable = false; if (stream == null) { RootID = !(parentSource == null) ? parentSource.RootID : AllocateID(); } else { OnSerializeHelper(stream); } }