Beispiel #1
0
 public bool p_Equals(c_Card t_lhs,c_Card t_rhs)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<28>";
     bool t_=t_lhs==t_rhs;
     bb_std_lang.popErr();
     return t_;
 }
Beispiel #2
0
 public c_Node2 m_Node_new(c_Node2 t_succ,c_Node2 t_pred,c_Card t_data)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<261>";
     m__succ=t_succ;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<262>";
     m__pred=t_pred;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<263>";
     m__succ.m__pred=this;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<264>";
     m__pred.m__succ=this;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<265>";
     m__data=t_data;
     bb_std_lang.popErr();
     return this;
 }
Beispiel #3
0
 public c_Node2 p_AddLast(c_Card t_data)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<108>";
     c_Node2 t_=(new c_Node2()).m_Node_new(m__head,m__head.m__pred,t_data);
     bb_std_lang.popErr();
     return t_;
 }
Beispiel #4
0
 public virtual bool p_Contains2(c_Card t_value)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<54>";
     c_Node2 t_node=m__head.m__succ;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<55>";
     while(t_node!=m__head){
         bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<56>";
         if(p_Equals(t_node.m__data,t_value)){
             bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<56>";
             bb_std_lang.popErr();
             return true;
         }
         bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<57>";
         t_node=t_node.m__succ;
     }
     bb_std_lang.popErr();
     return false;
 }
Beispiel #5
0
 public c_List m_List_new2(c_Card[] t_data)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<13>";
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<13>";
     c_Card[] t_=t_data;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<13>";
     int t_2=0;
     bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<13>";
     while(t_2<bb_std_lang.length(t_)){
         bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<13>";
         c_Card t_t=t_[t_2];
         bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<13>";
         t_2=t_2+1;
         bb_std_lang.errInfo="C:/MonkeyXPro82b/modules/monkey/list.monkey<14>";
         p_AddLast(t_t);
     }
     bb_std_lang.popErr();
     return this;
 }
Beispiel #6
0
 public bool p_Insert2(c_Card t_c)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<73>";
     if(this.p_Contains2(t_c)){
         bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<74>";
         bb_std_lang.popErr();
         return false;
     }
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<77>";
     this.p_AddLast(t_c);
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<78>";
     bb_std_lang.popErr();
     return true;
 }
Beispiel #7
0
 public override sealed bool p_Contains2(c_Card t_card)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<82>";
     c_Card t_c=null;
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<83>";
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<83>";
     c_Enumerator t_=this.p_ObjectEnumerator();
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<83>";
     while(t_.p_HasNext()){
         bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<83>";
         t_c=t_.p_NextObject();
         bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<84>";
         if(t_c==t_card){
             bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<85>";
             bb_std_lang.popErr();
             return true;
         }
     }
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameCard.monkey<89>";
     bb_std_lang.popErr();
     return false;
 }
Beispiel #8
0
 public int p_Load()
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/CardFactory.monkey<11>";
     m_card=((new c_Hero()).m_Hero_new());
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/CardFactory.monkey<12>";
     m_loaded=true;
     bb_std_lang.popErr();
     return 0;
 }
Beispiel #9
0
 public void p_DrawCard(c_Card t_card)
 {
     bb_std_lang.pushErr();
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameBoard.monkey<56>";
     m_deck-=1;
     bb_std_lang.errInfo="C:/Users/Raudius/Desktop/Unforgotten/Client/GameBoard.monkey<57>";
     m_hand.p_Insert2(t_card);
     bb_std_lang.popErr();
 }