public virtual ObjectLink <T> Pop() { if (_next != null) { _next._prev = _prev; } else { _chain._top = _prev; } if (_prev != null) { _prev._next = _next; } else { _chain._bottom = _next; } var prev = _prev; _prev = null; _next = null; _chain = null; return(prev); }
public LevelEnterEventArgs(Screen sender, ObjContainer player, ObjectChain <Game.LevelRenderStep, Game.RenderStep> renderChain) : base(sender) { _player = player; _renderChain = renderChain; }
internal protected ObjectLink(ObjectChain <T> chain, T value) { _chain = chain; Value = value; }