Example #1
0
 public PlayerGraphicsComponent()
 {
     CurrentAnimation = "Idle";
     Animations       = AnimationDictionaryProvider.GetPlayerAnimations();
     DrawDepth        = .85f;
     _focused         = false;
 }
Example #2
0
        public static void LoadContent(ContentManager Content)
        {
            FontProvider.AddFont("Pericles8", Content.Load <SpriteFont>(@"fonts/pericles8"));
            FontProvider.AddFont("Pericles9", Content.Load <SpriteFont>(@"fonts/pericles9"));
            FontProvider.AddFont("Pericles14", Content.Load <SpriteFont>(@"fonts/pericles14"));
            FontProvider.AddFont("Pericles21", Content.Load <SpriteFont>(@"fonts/pericles21"));
            FontProvider.AddFont("Mono14", Content.Load <SpriteFont>(@"fonts/mono14"));
            FontProvider.AddFont("Mono21", Content.Load <SpriteFont>(@"fonts/mono21"));

            TitleScreenManager.LoadContent(Content.Load <Texture2D>(@"textures/misc/TitleScreen"));

            VariableProvider.WhiteTexture = Content.Load <Texture2D>(@"textures/misc/white");

            AnimationDictionaryProvider.LoadAnimationStrips(Content);

            MugShotProvider.DummyMugShotAngry  = Content.Load <Texture2D>(@"textures/misc/mugshots/dummyangry");
            MugShotProvider.DummyMugShotNormal = Content.Load <Texture2D>(@"textures/misc/mugshots/dummynormal");

            DialogManager.Initialize();
        }
Example #3
0
 public PlatformPlayerGraphicsComponent()
 {
     this.currentAnimation = "Idle";
     this.animations       = AnimationDictionaryProvider.GetPlatformPlayerAnimations();
     this.drawDepth        = .85f;
 }
Example #4
0
 public CheckPointGraphicsComponent()
 {
     Animations       = AnimationDictionaryProvider.GetCheckPointAnimations();
     CurrentAnimation = "Activated";
     PlayAnimation(CurrentAnimation);
 }
Example #5
0
 public ExitGraphicsComponent()
 {
     Animations       = AnimationDictionaryProvider.GetExitAnimations();
     CurrentAnimation = "Idle";
     PlayAnimation(CurrentAnimation);
 }
Example #6
0
 public WaterGraphicsComponent()
 {
     animations       = AnimationDictionaryProvider.GetWaterAnimations();
     currentAnimation = "Idle";
     PlayAnimation(currentAnimation);
 }
Example #7
0
 public MariaGraphicsComponent()
 {
     currentAnimation = "IdleDown";
     drawDepth        = .86f;
     animations       = AnimationDictionaryProvider.GetMariaAnimations();
 }