• Advertisement


  • Content count

  • Joined

  • Last visited

Community Reputation

310 Neutral

About MilesRobson

  • Rank

Single Status Update

See all updates by MilesRobson

  1. Just hit up a programming forum, got this for an answer. "Look at the AddEnemy method of the EnemyManager class. It's creating a new Enemy class instance each time it's called. The Enemy class constructor creates a new Sprite class instance, which in turn creates a new List (the frames member). Not only that but none of the List constructors are taking an initial capacity so the internal arrays will need to be resized several times. In the case of a list of Rectangles this will generate a pa...
  • Advertisement