DeathBook/Assets/Scripts/Models/LevelManager.cs
RosimInc b0dfa36552 Added strategy tweaks for awareness calculation and friend death noticing.
Implemented game global awareness.

Signed-off-by: RosimInc <rosim_inc@hotmail.com>
2015-08-16 14:48:35 -04:00

24 lines
644 B
C#

using UnityEngine;
using System.Collections.Generic;
namespace DeathBook.Model
{
public class LevelManager
{
private static LevelManager instance = new LevelManager();
public static LevelManager Instance { get {return instance; } }
private Level level = null;
public Level GameLevel { get { return level; } }
private LevelGenerator gen = new LevelGenerator();
private LevelManager() {}
public Level NewLevel(int numPeople, int avgFriends, float probability, float radius, GameStrategy strategy)
{
return level = gen.GenerateLevel(numPeople, avgFriends, probability, radius, strategy);
}
}
}