⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 player.h

📁 含有uml的多个实例及实例的java源码。
💻 H
字号:
// {{{RME classifier 'Logical View::Player'#ifndef Player_H#define Player_H#ifdef PRAGMA#pragma interface "Player.h"#endif#include <RTSystem/CardGameComponent.h>#include <CommHeadsUp.h>class Hand;class PokerHand;// {{{RME tool 'OT::Cpp' property 'HeaderPreface'// {{{USR// }}}USR// }}}RMEextern const RTActorClass Player;#define SUPER RTActorclass Player_Actor : public RTActor{public:	// {{{RME tool 'OT::Cpp' property 'PublicDeclarations'	// {{{USR	// }}}USR	// }}}RMEprotected:	// {{{RME tool 'OT::Cpp' property 'ProtectedDeclarations'	// {{{USR	// }}}USR	// }}}RMEprivate:	// {{{RME tool 'OT::Cpp' property 'PrivateDeclarations'	// {{{USR	// }}}USR	// }}}RME	// {{{RME classAttribute '_bet'	int _bet;	// }}}RME	// {{{RME classAttribute '_ncards'	int _ncards;	// }}}RME	// {{{RME classAttribute '_money'	long _money;	// }}}RME	// {{{RME classAttribute '_hand'	Hand * _hand;	// }}}RMEprotected:	// {{{RME port 'dealer_comm'	CommHeadsUp::Conjugate dealer_comm;	// }}}RME	// {{{RME port 'timer'	Timing::Base timer;	// }}}RMEpublic:	Player_Actor( RTController * rtg_rts, RTActorRef * rtg_ref );	virtual ~Player_Actor( void );	virtual int _followInV( RTBindingEnd & rtg_end, int rtg_portId, int rtg_repIndex );protected:	// {{{RME enter ':TOP:WaitingToStart'	INLINE_METHODS void enter2_WaitingToStart( void );	// }}}RME	virtual void enterStateV( void );	// {{{RME transition ':TOP:Initial:Initial'	INLINE_METHODS void transition1_Initial( const void * rtdata, RTProtocol * rtport );	// }}}RME	// {{{RME transition ':TOP:WaitingToStart:Junction2:Ante'	INLINE_METHODS void transition2_Ante( const void * rtdata, Timing::Base * rtport );	// }}}RME	// {{{RME transition ':TOP:GameResults:Junction1:Lose'	INLINE_METHODS void transition3_Lose( const void * rtdata, CommHeadsUp::Conjugate * rtport );	// }}}RME	// {{{RME transition ':TOP:WaitingToStart:Junction4:Win'	INLINE_METHODS void transition4_Win( const int * rtdata, CommHeadsUp::Conjugate * rtport );	// }}}RME	// {{{RME transition ':TOP:ReceivingCards:Got_all_cards:Got_all_cards'	INLINE_METHODS void transition5_Got_all_cards( const Card * rtdata, CommHeadsUp::Conjugate * rtport );	// }}}RME	// {{{RME transition ':TOP:ReceivingCards:ReceiveAllCards:Junction2:Received_card'	INLINE_METHODS void transition8_Received_card( const Card * rtdata, CommHeadsUp::Conjugate * rtport );	// }}}RMEprivate:	INLINE_CHAINS void chain1_Initial( void );	INLINE_CHAINS void chain4_Win( void );	INLINE_CHAINS void chain2_Ante( void );	INLINE_CHAINS void chain3_Lose( void );	INLINE_CHAINS void chain8_Received_card( void );protected:	// {{{RME choicePoint ':TOP:ReceivingCards:All_cards'	INLINE_METHODS int choicePoint1_All_cards( const Card * rtdata, CommHeadsUp::Conjugate * rtport );	// }}}RMEprivate:	INLINE_CHAINS void chain9_Got_all_cards( void );	INLINE_CHAINS void chain7_False( void );public:	virtual void rtsBehavior( int signalIndex, int portIndex );	virtual const RTActor_class * getActorData( void ) const;protected:	static const RTActor_class rtg_class;public:	static const RTStateId rtg_parent_state[];private:	static const RTPortDescriptor rtg_ports[];public:	static const RTFieldDescriptor rtg_Player_fields[];};#undef SUPER// {{{RME tool 'OT::Cpp' property 'HeaderEnding'// {{{USR// }}}USR// }}}RME#endif /* Player_H */// }}}RME

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -