title: Does it "save memory" to put methods in one Big class? (Many objects)
body: <p>I'm working on a game for moblie platforms where memory is always a concern.</p>
  
  <p>I'm using a base abstract class enemy.  All other enemies will be variants of this class.</p>
  
  <p>My initial intent is to store methods for updating the enemy in the base class, and then store the specific behaviors in each child enemy class.</p>
  
  <p>My question is this: With possibly hundreds of enemies per load (or level), will I save memory writing all of my behaviors in one big class which each enemy refers to?  In other words, does having hundreds of enemies, each of which has a boatload of behaior code, require much more memory than storing everything in a single reference class?</p>
  
  <p>Initial Idea:</p>
  
  <pre><code>enemy.Update()
  </code></pre>
  
  <p>Memory saving idea:</p>
  
  <pre><code>//Static class is named EnemyBehavior
  EnemyBehavior.UpdateEnemy(enemy)
  </code></pre>