public void welcomeMessage() { string welcome = "Welcome to INF 154"; int stringSize = welcome.Length; typeWriterEffect(welcome, stringSize); setCursor cursor = new setCursor(); welcome = "Are you ready for an experience of your life?(Y/N)"; stringSize = welcome.Length; cursor.WriteAt("", 0, 0); typeWriterEffectReverse(welcome, stringSize); }
public void typeWriterEffectReverse(string a, int b) { setCursor cursor = new setCursor(); int col = (b - 1); for (int i = b - 1; i >= 0; i--) { cursor.WriteAt("", col, 0); col--; Console.Write(a[i]); System.Threading. Thread.Sleep(100); } Console.WriteLine(); }
static void Main(string[] args) { drawInterface draw = new drawInterface(); // PLease help me fix the intro to the right side :) raceDescription describe_Race = new raceDescription(); userCom firstContact = new userCom(); setCursor cursor = new setCursor(); cyborgELements cyborg = new cyborgELements(); draw.setConoleSize(); draw.drawCollumm(0, 0, 0, 0, 0, 0, 0, 5, 0); draw.drawResourceMatrix(7, 7, 7); //describe_Race.describeHuman(); //describe_Race.describeOrc(); describe_Race.describeElf(); //describe_Race.describeCyborg(); Console.ReadLine(); //cursor.WriteAt("", 40, 0); //firstContact.welcomeMessage(); }