public override void gameIni() { ball = new spriteCircle(this, "ball", "ball1", 50, 50, 25, 25); ball2 = new spriteCircle(this, "ball", "ball2", 20, 20, 200, 200); sprites.Add(ball); sprites.Add(ball2); s1 = new sound(this, "ring"); //this.ps.Gravity = new FarseerGames.FarseerPhysics.Mathematics.Vector2 (0f,9.84f);//PHYSICS t1 = new text(this, "testFont", "This is a test"); this.ps.Gravity = new FarseerGames.FarseerPhysics.Mathematics.Vector2(0f, 9.81f); }
public override void gameIni() { ball = new spriteCircle(this,"ball","ball1" ,50, 50, 25, 25); ball2 = new spriteCircle(this, "ball","ball2", 20, 20, 200, 200); sprites.Add(ball); sprites.Add(ball2); s1 = new sound(this, "ring"); //this.ps.Gravity = new FarseerGames.FarseerPhysics.Mathematics.Vector2 (0f,9.84f);//PHYSICS t1 = new text(this, "testFont", "This is a test"); this.ps.Gravity = new FarseerGames.FarseerPhysics.Mathematics.Vector2(0f, 9.81f); }