public AtomicExample ExampleMethod(atomic int i)
        {
            atomic int k = 0;

            k = i;

            return(aField.aField);
        }
        public GameScreen()
        {
            InitializeComponent();
            g = new grandma(40, 1.3F, 1);
            int c = g.upgrade_cost;

            g = new grandma(c, 1.3F, 1);

            r = new robot(150, 1.3F, 6);
            int a = r.upgrade_cost;

            r = new robot(a, 1.3F, 6);

            f = new farm(2000, 1.3F, 15);
            int b = f.upgrade_cost;

            f = new farm(b, 1.3F, 15);

            fa = new factory(9000, 1.3F, 50);
            int d = fa.upgrade_cost;

            fa = new factory(d, 1.3F, 50);

            clon = new cloner(90000, 1.3F, 110);
            int e = clon.upgrade_cost;

            clon = new cloner(e, 1.3F, 119);

            atom = new atomic(200000, 1.3F, 1100);
            int h = atom.upgrade_cost;

            atom = new atomic(h, 1.3F, 1100);

            ali = new alien(600000, 1.3F, 11000);
            int l = ali.upgrade_cost;

            ali = new alien(l, 1.3F, 11000);

            kyr = new krypto(9000000, 1.3F, 601000);
            int i = kyr.upgrade_cost;

            kyr = new krypto(i, 1.3F, 601000);

            hac = new HACK(150000000, 1.3F, 4000000);
            int j = hac.upgrade_cost;

            hac = new HACK(j, 1.3F, 4000000);

            win = new WIN(2000000000);
            int k = win.upgrade_cost;

            win = new WIN(k);
        }
Exemple #3
0
 public static void TestMethod(atomic int x, int y)
 {
     //Body
 }
Exemple #4
0
 public void TestMethod(atomic int x, atomic ref string s)
Exemple #5
0
 public static void TestMethodAtomic(atomic out int i, int j)
 public static void TestMethodAtomic(atomic ref int i)