Skip to content

Commit

Permalink
Code Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Paloys committed Jul 15, 2022
1 parent 9cabaf7 commit 965bb76
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 2 additions & 1 deletion GoldenTrainer/CompleteDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ public override void Update()

public override void Render()
{
if (GoldenTrainerModule.Settings.ActivateMod) {
if (GoldenTrainerModule.Settings.ActivateMod)
{
var basePos = Vector2.Lerp(new Vector2(0 - _width, Y), new Vector2(0, Y), Ease.CubeOut(_lerp)).Round();

_bg.Draw(new Vector2(_width - _bg.Width + basePos.X, Y));
Expand Down
5 changes: 2 additions & 3 deletions GoldenTrainer/ExampleModuleSettings.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Microsoft.Xna.Framework.Input;
using YamlDotNet.Serialization;
using Celeste.Mod;
using Celeste.Mod;
using Microsoft.Xna.Framework.Input;

namespace GoldenTrainer
{
Expand Down
6 changes: 3 additions & 3 deletions GoldenTrainer/GoldenTrainer.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Microsoft.Xna.Framework;
using Celeste;
using Celeste.Mod;
using Microsoft.Xna.Framework;
using Monocle;
using System;
using Celeste;
using Celeste.Mod;


namespace GoldenTrainer
Expand Down
1 change: 0 additions & 1 deletion GoldenTrainer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// Les informations générales relatives à un assembly dépendent de
Expand Down

0 comments on commit 965bb76

Please sign in to comment.