public void ReGenMap () { Map = new GameMap (); Objects = new List<GameObject> (); Player = PlayerMaker (); Objects.Add (Player); }
public LocationComponent (GameObject parent, GameMap map, Vector2 initialLocation, bool solid) : base (parent) { Map = map; Location = initialLocation; Solid = solid; Spawn (initialLocation); }
public MovementComponent(GameObject parent, GameMap map) : base(parent) { Map = map; Map.GetCell(Parent.GetComponent <LocationComponent> ().Location).Actor = parent; }
public MovementComponent (GameObject parent, GameMap map) : base (parent) { Map = map; Map.GetCell (Parent.GetComponent<LocationComponent> ().Location).Actor = parent; }
public VisionComponent(GameObject parent, GameMap map, int visionRange) : base(parent) { Map = map; Range = visionRange; }