/// <summary> /// konstruktor eventu pro kolize hrace s predmetem /// </summary> /// <param name="player">kolidujici hrac</param> /// <param name="model">kolidujici objekt</param> public EnemyCollision(Player player, AbstractGameModel model) : base(model) { Player = player; }
/// <summary> /// konstruktor eventu pro kolize hrace s predmetem /// </summary> /// <param name="player">kolidujici hrac</param> /// <param name="model">kolidujici objekt</param> public CollisionEvent(AbstractPlayer player, AbstractGameModel model) : base(model) { this.player = player; }
public CommonEvent(AbstractGameModel irModel) { model = irModel; }
/// <summary> /// konstruktor eventu pro kolize hrace s predmetem /// </summary> /// <param name="player">kolidujici hrac</param> /// <param name="model">kolidujici objekt</param> public WallCollisionEvent(Player player, AbstractGameModel model) : base(model) { Player = player; }