Files
LunaLightXMG/Level.cs
T
2025-03-30 14:56:11 -07:00

34 lines
856 B
C#

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;
}
}