-
源码和笔记
我们在整个游戏中,看到的所有内容,我们都理解为游戏对象。
那么每一个游戏对象,都是由一个单独的类创建而来。
为了便于我们程序的可扩展性,减少冗余代码,我们写一个父类,让这些游戏对象的子类
来继承我的父类,我在父类中,将子类中所共有的成员全部都封装起来。
应该记录游戏对象的横纵坐标
需要记录游戏对象的高度和宽度(All the content we see in the whole game is understood as the object of the game.
Then every game object is created by a separate class.
In order to facilitate the scalability of our program and reduce redundant code, we write a parent class to let the children of these game objects.
To inherit my parent class, I encapsulate all the members that are common in the subclass.
The abscissa and ordinate coordinates of the game object should be recorded
You need to record the height and width of the game object)
- 2018-12-24 10:57:43下载
- 积分:1
-
amoli
说明: Amoli Private Cloud is an excellent open source PHP station building system with powerful and unpredictable functions.
- 2020-06-23 20:20:02下载
- 积分:1
-
9503669
说明: 麻雀虽小,五脏具全!如果想自己做个ftp可以从这个程序做起!(Although sparrows are small, the five viscera are complete! If you want to do your own ftp can start from this program!)
- 2019-01-02 18:34:32下载
- 积分:1
-
VB创建ACCESS数据库
说明: VB 创建 ACCESS 数据库,个人练习,一起学习,谢谢(VB Creates ACCESS Database)
- 2020-06-23 15:40:02下载
- 积分:1
-
本书是为工科高年级学生写的教科书,可以作为控制系统领域的首门课程的教材。本书详尽地论述了连续控制系统的分析和研究方法,各章节包括动态系统的数学模型、瞬态响应和稳...
本书是为工科高年级学生写的教科书,可以作为控制系统领域的首门课程的教材。本书详尽地论述了连续控制系统的分析和研究方法,各章节包括动态系统的数学模型、瞬态响应和稳态相应分析、根轨迹分析、控制系统设计的根轨迹法、频率响应分析、控制系统设计的频率响应法,以及PID控制与二自由度控制系统等内容。-This book is for the engineering of high-grade students to write the textbooks, can serve as a control system for the field of teaching the first door. The book discusses in detail a continuous control system analysis and research methods, including dynamic system of various sections of the mathematical model, the corresponding transient response and steady-state analysis, root locus analysis, control system design of the root locus method, frequency response analysis, control System frequency response method, as well as PID control and two degrees of freedom control system, etc..
- 2022-03-07 09:12:55下载
- 积分:1
-
自己写的贪吃蛇游戏,体现了完整的面向对象思想
自己写的贪吃蛇游戏,体现了完整的面向对象思想-himself wrote the Snake games, reflects the integrity of the object-oriented thinking
- 2023-05-16 04:55:03下载
- 积分:1
-
模拟退火算法
提出了一种基于粒子群优化(PSO)算法的径向基(RBF)网络参数优化算法,首先利用减聚类算法确定网络径向基函数中心的个数,再用PSO算法优化径向基函数的中心及宽度,最后用PSO算法训练隐含层到输出层的网络权值,找到神经网络权值的最优解,以达到优化神经网络学习的目的。最后,通过一个实验与最小二乘法优化的神经网络进行了比较,验证了算法的有效性。(Particle swarm optimization (PSO) optimization of RBF network)
- 2018-01-31 23:02:43下载
- 积分:1
-
Taup-reflectivity-forward
Taup 域反射率法正演 正演方法(taup seismic forward)
- 2018-07-05 17:04:02下载
- 积分:1
-
武功修炼
满级后自动更换武功,会卡武功,对于经验高的服务器,几个小时就能练满(After full-level automatic replacement of martial arts, will card martial arts, for highly experienced servers, a few hours can be fully trained)
- 2019-04-09 13:39:50下载
- 积分:1
-
这将有助于那些想了解JTAG
jtag调试原理,对于想深入了解的开发人员是个有用的资料-it will be useful for those who want to know better about jtag
- 2023-03-01 23:10:03下载
- 积分:1