コード例 #1
0
 /// <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;
 }
コード例 #2
0
 /// <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;
 }
コード例 #3
0
 public CommonEvent(AbstractGameModel irModel)
 {
     model = irModel;
 }
コード例 #4
0
 /// <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;
 }