All pastes #482945 Raw Edit

Untitled

public text v1 · immutable
·published 2007-05-11 14:10 UTC
rendered paste body
        public List<int> DamageDisplayList = new List<int>();

        #endregion

        /// <summary>
        /// Default constructor
        /// </summary>
        public Enemy()
        {
            this.Position = new Vector2(-100f, -100f);
            this.selectedEnemy = GetEnemySheetCoords(0);
            this.collisionBox = new CollisionBox((int)this.position2D.X, 
                (int)this.position2D.Y, enemyWidth, enemyHeight);
            //AddNewDamage(100);
            DamageDisplayList.Capacity = 4;
            // DEBUG
            DamageDisplayList.Add(1);
            DamageDisplayList.Add(2);
            DamageDisplayList.Add(3);

            Debug.WriteLine(DamageDisplayList.Count);

            // END DEBUG
        }