-
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
-
基于MATLAB的Vissim二次开发入门实例
绘制IQA方法延误,交叉口感应控制,路径诱导控制,变信息板功能,感应 停车案例(Draw IQA method, delay, intersection induction control, path guidance control, variable message board function, induction parking case)
- 2021-04-08 21:59:00下载
- 积分:1
-
OnscreenKeyboard_src
一个模拟鼠标键盘输入的例子(-An example about how to similar to the input of mouse and keyboard)
- 2003-10-21 21:22:59下载
- 积分:1
-
Leader_Follower
领航跟随编队控制设计编队避障的一些信息,包含避障(Navigation following formation control designs some information about formation obstacle avoidance, including obstacle avoidance)
- 2020-06-29 03:20:01下载
- 积分:1
-
arxiv-master
arvix网站爬虫,是利用python语言,对预发表的论文信息进行相关的爬取。(The crawler of arvix website uses Python language to crawl related information of pre published papers.)
- 2017-10-26 16:34:31下载
- 积分:1
-
dace
说明: 克里金插值是依据协方差函数对随机过程或随机场进行空间建模和插值的回归算法。此为实现克里金插值的源代码(kriging interpolation)
- 2020-03-28 08:36:18下载
- 积分:1
-
单片机非接触式红外感应体温计全套资料
说明: 单片机设计非接触式红外感应体温计全套资料,里面有软件代码,硬件电路以及PCB文件,调试笔记,是开发非接触式额温枪设计的参考资料。(A complete set of information about the design of contactless infrared thermometer by single chip microcomputer, including software code, hardware circuit, PCB file, debugging notes, is the reference for the development of contactless temperature gun design.)
- 2020-11-30 20:09:28下载
- 积分:1
-
SAR多点目标
说明: SAR多点目标回波仿真,距离徙动校正,后向投影算法以及距离多普勒算法(SAR multi-point target echo simulation, range migration correction, back projection algorithm and range Doppler algorithm)
- 2020-06-18 09:12:40下载
- 积分:1
-
连续写入文件
比较好的写文件的编程,很有做为编程的参考案例的参考价值。(Better file writing programming, there is a reference value as a reference case of programming.)
- 2020-06-19 23:40:01下载
- 积分:1
-
权重分布直方图
在异构网络垂直切换中,通过AHP+TOPSIS算法得到在四种业务类型中的权重,从而绘出的直方图(In the vertical handoff of heterogeneous networks, we get the weights in four business types by AHP+TOPSIS algorithm, and draw the histogram.)
- 2021-04-07 15:29:02下载
- 积分:1