碰撞效果实现: 利用CollisionUtils判断两个对象是否发生碰撞 x1:第一个矩形的x坐标 y1:第一个矩形的y坐标 w1:第一个矩形的宽度 h1:第一个矩形的高度 x2:第二个矩形的x坐标 y2:第二个矩形的y坐标 w2:第二个矩形的宽度 h2:第二个矩形的高度 可以理解为tank和wal ...
分类:
其他好文 时间:
2017-09-10 01:13:11
阅读次数:
203
简述: Python的3.0版本,常被称为Python 3000,或简称Py3k,相对于Python的早期版本,这是一个较大的升级。为了不带入过多的累赘,Python 3.0在设计的时候没有考虑向下兼容 Python3.x与3?2.x版本区别 Python的3??.0版本,常被称为Python 30 ...
分类:
编程语言 时间:
2017-09-10 00:14:47
阅读次数:
156
-- ID:新闻的唯一标示-- tiltle:新闻的标题-- content:新闻的内容-- created_at:新闻添加的时间-- types:新闻的类型-- image:新闻的缩略图-- author:作者-- view_count:浏览量-- is_valid:删除标记CREATE TABL ...
分类:
数据库 时间:
2017-09-09 21:35:26
阅读次数:
214
A .Banana Bananas are the favoured food of monkeys. In the forest, there is a Banana Company that provides bananas from different places. The company ...
分类:
其他好文 时间:
2017-09-09 20:58:19
阅读次数:
245
常用查询写法 Like like本身效率就比较低,应该尽量避免查询条件使用like; 原因: 对于like ‘%...%’(全模糊)这样的条件,是无法使用索引的,全表扫描自然效率很低; 由于匹配算法的关系,模糊查询的字段长度越大,模糊查询效率越低。 解决办法: 尽量避免模糊查询,如果因为业务需要一定 ...
分类:
数据库 时间:
2017-09-09 16:27:40
阅读次数:
227
Digital Roots Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 80782 Accepted Submission(s): 25278 ...
分类:
其他好文 时间:
2017-09-09 13:04:02
阅读次数:
208
没改前: html: 修改后: html: 编程是要偷懒的 ...
分类:
其他好文 时间:
2017-09-09 11:56:38
阅读次数:
169
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at ...
分类:
其他好文 时间:
2017-09-09 09:45:51
阅读次数:
203
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V... ...
分类:
编程语言 时间:
2017-09-09 00:42:40
阅读次数:
412