Beispiel #1
0
 public DelayPlanche(NubiaPlayer _owner, BaseTissu _metal) : base(TimeSpan.FromSeconds(6.0))
 {
     Priority = TimerPriority.OneSecond;
     m_owner  = _owner;
     m_owner.Animate(16, 30, 1, true, false, 0);
     //m_mineur.PlaySound( 0x51D );
     m_metal = _metal;
     m_owner.Freeze(TimeSpan.FromSeconds(6.0));
 }
Beispiel #2
0
        public static BaseTissu GetTissu(TissuEnum etissu)
        {
            BaseTissu tissu = null;

            switch (etissu)
            {
            case TissuEnum.Lin: tissu = new TissuLin(); break;

            case TissuEnum.Coton: tissu = new TissuCoton(); break;

            case TissuEnum.Soie: tissu = new TissuSoie(); break;

            case TissuEnum.Laine: tissu = new TissuLaine(); break;
            }
            return(tissu);
        }
Beispiel #3
0
 public InternalPlancheTarget(NubiaPlayer owner, BaseTissu met) : base(1, true, TargetFlags.None)
 {
     m_owner = owner;
     m_metal = met;
     m_owner.SendMessage("Où voulez vous tisser ?");
 }