mirror of
https://github.com/TheRavenwoodArts/LunaLightXMG.git
synced 2026-07-31 00:05:02 -07:00
Started Level Idea
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user