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); }
static void Main() { using (var game = new MonoShmup()) game.Run(); }
public ScoreComponent(MonoShmup game) : base(game) { this.Game.Services.AddService(typeof(IScoreComponent), this); }