-
Delphi纸牌游戏动画特效
一个基于Delphi编写的纸牌游戏动画特效,并不是一个完整的游戏,而是生成的纸牌动态效果,和图像处理有关的一个Delphi范例,如演示截图所示,生成的动画 效果还是挺不错的,或许可作为某方面的借鉴。部分代码如下:
FCardId:Cardinal ; //扑克的编号,0-51为各花色的1-K,52为大王,53小王
FFaceUp:bool; //是否正面朝上
procedure SetCardId(id:Cardinal);//设置扑克牌的编号
procedure SetFaceUp(Flag:Bool); //设置是否正面朝上
function GetValue:integer; //得到扑克牌的点数
function GetSuit:TCardSuit; //得到扑克牌的花色
procedure Paint; override; //画扑克牌的程序
constructor Create(AOwner:TComponent);overload;override; //构造函数
constructor Create(AOwner:TComponent;Id:Cardinal);overload;
procedure SetCard(Suit:TCardSuit;Value:Cardinal); //设置扑克牌的编号
property CardId:Cardinal read FCardId write SetCardId; //扑克牌编号
property FaceUp:bool read FFaceUp write SetFaceUp default False; //正面朝上
property Value:integer read GetValue; //扑克的点数,只读
property Suit:TCardSuit read GetSuit; //扑克的花色,只读
- 2022-01-26 05:07:33下载
- 积分:1
-
VisifireShow
WPF中柱状图,饼状图,线形图实例,简单的图形使用方法,仅供小伙伴们参考使用(WPF column chart, pie chart, line chart examples, simple graphics usage methods, for small partners to reference only)
- 2020-06-18 05:20:02下载
- 积分:1
-
MATLAB电机仿真精华50例
matlab仿真精华50例中附有pdf文档能详细理解仿真流程,并附详细源代码,主要仿真对象是针对异步电机和直流电机的仿真过程。(Matlab simulation essence, 50 cases with PDF documents, a detailed understanding of the simulation process, and with detailed source code, the main simulation object is for asynchronous motors and DC motor simulation process.)
- 2017-09-02 09:36:50下载
- 积分:1
-
北大青鸟学习java文件,共计4份,这是第一次,…
北大青鸟的java学习文档,一共有4份,这是第一份,希望对大家有帮助。-Beida Jade Bird to learn the java files, a total of 4 copies, this is the first, in the hope that everyone has to help.
- 2022-07-24 06:04:24下载
- 积分:1
-
优化设计
利用ANSYS APDL 进行结构优化设计(Structural optimization design)
- 2017-12-14 10:46:45下载
- 积分:1
-
测试工作能力,究竟什么方向适合你。很准的,而且很权威
测试工作能力,究竟什么方向适合你。很准的,而且很权威-Test the ability to work, what the direction for you. Very accurate and very authoritative
- 2022-08-20 22:49:02下载
- 积分:1
-
Wtncows
Win API演示多样 Win API demo diverse(Windows API demo multiple Windows API demo diverse)
- 2017-04-15 08:31:33下载
- 积分:1
-
aps013_dw1000_and_two_way_ranging_v2.1
主要描述UWB定位方式中的DWR方法,需要一定的数学功底(This paper mainly describes the DWR method in UWB positioning mode, which requires certain mathematical knowledge.)
- 2019-02-15 13:31:53下载
- 积分:1
-
1
说明: 易语言画板进度条 非原创,,欢迎大家下载(Easy language Sketchpad progress bar)
- 2014-11-03 17:35:00下载
- 积分:1
-
清理背包?自动刷帮辅助
逍遥问道的清包工具 整包使用 工具,刷帮 亲密 点化羽化之类的(Qing asked the whole pack of Xiaoyao package of tools using tools such as feather brush to help close touch))
- 2018-11-18 09:04:20下载
- 积分:1