static void Main(string[] args) { LegionerFlyweight legionerFlyweight = new LegionerFlyweight(); var l1 = new LegionerContext(legionerFlyweight); var l2 = new LegionerContext(legionerFlyweight); var l3 = new LegionerContext(legionerFlyweight); var l4 = new LegionerContext(legionerFlyweight); l4.Run(); l4.Render(); }
public LegionerContext(LegionerFlyweight legionerFlyweight) { _legionerFlyweight = legionerFlyweight; }