Esempio n. 1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     //Allocates The Variables
     //Alloue Les Variables
     boy    = new Chimera.Graphics.Image();
     girl   = new Chimera.Graphics.Image();
     light  = new Chimera.Graphics.Image();
     block1 = new Chimera.Graphics.Image();
     block2 = new Chimera.Graphics.Image();
 }
Esempio n. 2
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     //Constructor of the class
     //Constructeur des class
     anim   = new Chimera.Graphics.Animation();
     player = new Chimera.Graphics.Sprite();
     scroll = new Chimera.Graphics.Effects.Scroller();
     floor  = new Chimera.Graphics.Image();
     bg     = new Chimera.Graphics.BackGround();
 }