public PlayerGraphicsComponent() { CurrentAnimation = "Idle"; Animations = AnimationDictionaryProvider.GetPlayerAnimations(); DrawDepth = .85f; _focused = false; }
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(); }
public PlatformPlayerGraphicsComponent() { this.currentAnimation = "Idle"; this.animations = AnimationDictionaryProvider.GetPlatformPlayerAnimations(); this.drawDepth = .85f; }
public CheckPointGraphicsComponent() { Animations = AnimationDictionaryProvider.GetCheckPointAnimations(); CurrentAnimation = "Activated"; PlayAnimation(CurrentAnimation); }
public ExitGraphicsComponent() { Animations = AnimationDictionaryProvider.GetExitAnimations(); CurrentAnimation = "Idle"; PlayAnimation(CurrentAnimation); }
public WaterGraphicsComponent() { animations = AnimationDictionaryProvider.GetWaterAnimations(); currentAnimation = "Idle"; PlayAnimation(currentAnimation); }
public MariaGraphicsComponent() { currentAnimation = "IdleDown"; drawDepth = .86f; animations = AnimationDictionaryProvider.GetMariaAnimations(); }