Started Level Idea

This commit is contained in:
hellka7
2025-03-30 14:56:11 -07:00
parent 43903e6c42
commit ad60223fed
+34
View File
@@ -0,0 +1,34 @@
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.IO;
using Microsoft.Xna.Framework.Input;
using System.Collections.Generic;
namespace LunaLightXMG
{
class Level
{
// Entities
private List<Enemy> enemies = new List<Enemy>();
private int numberOfEnemies;
public Player Player
{
get { return player; }
}
Player player;
// Key Locations
private Vector2 startPosition;
private Point exit = InvalidPosition;
private static readonly Point InvalidPosition = new Point(-1,-1);
// Game State
private Random random = new Random(546452);
// Physical Structure
private Platform[] platforms;
private int numberOfPlatforms;
}
}