コード例 #1
0
ファイル: EtatPoursuite.cs プロジェクト: Kenoua/TPPacman
 /// <summary>
 /// Initializes a new instance of the <see cref="EtatPoursuite"/> class.
 /// </summary>
 /// <param name="_personnage">The _personnage.</param>
 public EtatPoursuite(PersonnageNonJoueur _personnage)
 {
     personnage = _personnage;
     personnage.spriteColorEffect = Color.Red;
 }
コード例 #2
0
ファイル: EtatApeurer.cs プロジェクト: Kenoua/TPPacman
 /// <summary>
 /// Initializes a new instance of the <see cref="EtatApeurer"/> class.
 /// </summary>
 /// <param name="_personnage">The _personnage.</param>
 public EtatApeurer(PersonnageNonJoueur _personnage)
 {
     personnage = _personnage;
     personnage.spriteColorEffect = Color.Blue;
 }
コード例 #3
0
ファイル: EtatRoder.cs プロジェクト: Kenoua/TPPacman
 /// <summary>
 /// Initializes a new instance of the <see cref="EtatRoder"/> class.
 /// </summary>
 /// <param name="_personnage">The _personnage.</param>
 public EtatRoder(PersonnageNonJoueur _personnage)
 {
     personnage = _personnage;
     personnage.spriteColorEffect = Color.Orange;
 }