Exemple #1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     soundEffects          = new List <SoundEffect>();
     player = new Player(this);
     m1     = new Meteor {
         meteorRect = new Rectangle(0, 0, 50, 50), Progression = 1.0, Width = 50, Height = 50
     };
 }
Exemple #2
0
 public Flyweight(Meteor meteor)
 {
     this._sharedstate = meteor;
 }