rendered paste bodyusing System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using System.IO;
namespace Assimilation_Nation
{
class StarsBack
{
private string sLvldirect;
private Star[] star1;
private Star[] star2;
private string sStar1;
private string sStar2;
private int iStar1Count;
private int iStar2Count;
private float fXbounds;
private float fYbounds;
private ModelHandler mhModel = new ModelHandler();
public StarsBack(string sLevel)
{
sLvldirect = "Content\\Levels\\Stars" + sLevel + ".asmn";
ReadVars(sLvldirect);
}
private void ReadVars(string sLevel)
{
StreamReader srRead = new StreamReader(sLevel);
sStar1 = srRead.ReadLine();
sStar2 = srRead.ReadLine();
fXbounds = float.Parse(srRead.ReadLine());
fYbounds = float.Parse(srRead.ReadLine());
iStar1Count = int.Parse(srRead.ReadLine());
iStar2Count = int.Parse(srRead.ReadLine());
srRead.Close();
star1 = new Star[iStar1Count];
star2 = new Star[iStar2Count];
}
private void LoadModels(
private struct Star
{
public Vector3 v3Posi;
public string sDirectory;
}
}
}