Exemplo n.º 1
0
 public Joueur(MonoShmup game, Vector2 initPos)
     : base(game)
 {
     this._position = initPos;
     this._currentMovementHorizontal = MouvementHorizontal.Stable;
     this._spritesMouvement          = new AnimatedSprite[3];
     this.Game.Components.Add(this);
 }
Exemplo n.º 2
0
 static void Main()
 {
     using (var game = new MonoShmup())
         game.Run();
 }
Exemplo n.º 3
0
 public ScoreComponent(MonoShmup game) : base(game)
 {
     this.Game.Services.AddService(typeof(IScoreComponent), this);
 }