Пример #1
0
        public void LoadContent(ContentManager Content)
        {
            AnimationSheet playerSheet = new AnimationSheet();
            playerSheet.Load(Content, "Spritesheets\\players");
            playerAnimations = new AnimatedSprite(playerSheet, "StandDown");
            playerAnimations.SetTexture("player" + (playerIndex + 1));

            footstepSound = Content.Load<SoundEffect>("SFX/footsteps");
            bombPlaceSound = Content.Load<SoundEffect>("SFX/bombplace");
        }