/// <summary> /// RESET WINDOW /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, EventArgs e) { AnimationProvider.EnableAnimation(); // Set Window Opacity to 100% SpotifyProvider.ResetAndInitOpacity(); SpotifyProvider.ResetWindow(); }
public PlayerActor(World world, AnimationProvider animations, SystemAnimationProvider sysanimations, ActionProvider actions) : base(world, animations, sysanimations, actions) { ImmuneGravity = false; DefaultGravity = 1.0f; Priority = 100; CollisionEnabled = true; }
public BulletActor(World world, AnimationProvider animations, SystemAnimationProvider sysanimations, ActionProvider actions) : base(world, animations, sysanimations, actions) { ImmuneGravity = true; IsInAir = true; DefaultGravity = 0.0f; Priority = 300; CollisionEnabled = false; }
public Actor(World theWorld, AnimationProvider animations, SystemAnimationProvider sysanimations, ActionProvider actions) { this.World = theWorld; this.Animations = animations; this.SystemAnimations = sysanimations; this.Actions = actions; this.ScaleX = 1; this.ScaleY = 1; this.Alpha = 1.0f; this.Red = 1.0f; this.Green = 1.0f; this.Blue = 1.0f; this.ImmuneGravity = true; this.IsInAir = true; }
public AnimationManager(Animator animator, AnimationProvider animationProvider) { this.animator = animator; this.animationProvider = animationProvider; }