MyGame.BulletsManager.BulletsManager C# (CSharp) Method

BulletsManager() public method

Constructor that initialize the bullet manager
public BulletsManager ( MyGame game ) : System
game MyGame Instance of MyGame this game component is attached to
return System
        public BulletsManager(MyGame game)
            : base(game)
        {
            bullets = new List<Bullet>();
            myGame = game;
            events = new List<Event>();
            game.mediator.register(this, MyEvent.C_ATTACK_BULLET_END);
        }