Quik update

This commit is contained in:
J. M. Ellis
2024-06-02 17:30:10 -07:00
parent 059a3f9534
commit 339f512e5d
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -54,8 +54,7 @@ namespace LunaLightXMG
IsMouseVisible = true; IsMouseVisible = true;
// Test player input and movement with abstracted player class // Test player input and movement with abstracted player class
Vector2 initPlayerPosition = new Vector2(163, 63); Vector2 initPlayerPosition = new Vector2(163, 0);
Vector2 initEnemyPosition = new Vector2(16, 16);
player = new Player(initPlayerPosition); player = new Player(initPlayerPosition);
playerInput = new PlayerInput(); playerInput = new PlayerInput();
enemies = new List<Enemy>(); enemies = new List<Enemy>();
+2
View File
@@ -99,6 +99,8 @@ namespace LunaLightXMG
public static List<Platform> CreateRandomPlatforms(int numberOfPlatforms) public static List<Platform> CreateRandomPlatforms(int numberOfPlatforms)
{ {
List<Platform> platforms = new List<Platform>(); List<Platform> platforms = new List<Platform>();
platforms.Add(new Platform(new Vector2(16, 132), 16, 16));
platforms.Add(new Platform(new Vector2(288, 132), 16, 16));
for (int i = 0; i < numberOfPlatforms; i++) for (int i = 0; i < numberOfPlatforms; i++)
{ {