Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- public class Program
- {
- public static void Main()
- {
- ProAgarPlayer xerox123 = new ProAgarPlayer
- {
- PlayerName = "xerox123", Level = 75
- }
- ; // lol u are pro
- xerox123.getInfo();
- }
- }
- public class AgarPlayer
- {
- public string PlayerName = "Player";
- public int Level;
- public Dictionary<string, bool> Skills = new Dictionary<string, bool>();
- public AgarPlayer()
- {
- Skills.Add("PopSplit", false); // key 0
- Skills.Add("TrickSplit", false); // key 1
- Skills.Add("CannonSplit", false);
- }
- public void getInfo()
- {
- Console.WriteLine(PlayerName + "'s stats" + Environment.NewLine + "-----------------------" + Environment.NewLine + "Level : " + Level + Environment.NewLine + "TrickSplit : " + Skills["TrickSplit"] + Environment.NewLine + "PopSplit : " + Skills["PopSplit"] + Environment.NewLine + "CannonSplit : " + Skills["CannonSplit"]);
- }
- }
- public class ProAgarPlayer : AgarPlayer
- {
- public ProAgarPlayer()
- {
- Skills["TrickSplit"] = true;
- Skills["PopSplit"] = true;
- Skills["CannonSplit"] = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement