码迷,mamicode.com
首页 >  
搜索关键字:play    ( 9713个结果
HDU - 5011 Game
Problem Description Here is a game for two players. The rule of the game is described below: ● In the beginning of the game, there are a lot of piles of beads. ● Players take turns to play. E...
分类:其他好文   时间:2014-09-14 23:42:04    阅读次数:231
【iOS】Swift中Playground,常量、变量、字符串等小结
一、代码书写的几点变化 1. 更像Java,Javascript或Python的格式了 2. 结尾的分号可写可不写了(同一行的多条语句中间必须加分号) 3. 不需要写main函数了,直接是从上往下执行 二、Playground Playground顾名思义,Play是玩的意思,ground是地方的意思。拿来玩、写demo或者测试很nice。在WWDC上演示了Playground实...
分类:移动开发   时间:2014-09-13 06:12:44    阅读次数:298
2014/9/12 play with thesick siyang baby.
11:48 2014/9/12再怎么无聊的游戏,在思杨宝宝的眼里都是那么好玩,那么有趣。昨天回去和他玩老鹰抓小鸡的游戏,我当老鹰,他当小兔子。我看他跑到奶奶屋里,就冲进去把他“抓走”,然后扔到我的屋里。思杨乐的啊,玩了一次又一次。他有点感冒,说话声音都有点沙哑。我还害怕把他累着了,可是他一点不累,依...
分类:其他好文   时间:2014-09-12 13:29:13    阅读次数:248
live555 基本命令处理流程
live555源码分析----DESCRIBE命令处理live555源码分析----SETUP命令处理流程live555源码分析----PLAY命令的处理live555源码分析----RTP的打包与发送实现RTP协议的H.264视频传输系统live555源码分析----H264的数据处理live555源码分析----mpg文件的处理...
分类:其他好文   时间:2014-09-11 23:53:42    阅读次数:233
HDU 1116 Play on Words (歐拉迴路 + 并查集)
鏈接: http://acm.hdu.edu.cn/showproblem.php?pid=1116 Problem Description Some of the secret doors contain a very interesting word puzzle. The team of archaeologists has to solve it to open that do...
分类:其他好文   时间:2014-09-11 17:17:12    阅读次数:320
直接拿来用!最火的Android开源项目(完结篇)
41.android-swipelistviewSwipeListView是一个Android List View实现,实现了自定义ListView单元格,可通过滑动来显示扩展面板。开发者可直接登陆Google Play下载安装其Demo应用。42.greenDAOgreenDAO是一个可以帮助An...
分类:移动开发   时间:2014-09-11 13:45:31    阅读次数:325
Tweens
Tweens(补间动画)补间动画有很多种:这里以Tween Height为例:项目层次:btn为一个按钮,group为一组图片精灵,预览图如下:第一步:先为每个item附加一个Tween Height脚本,设置如下:form表示起始的高度,to表示最终高度,play style表示播放类型:once...
分类:其他好文   时间:2014-09-09 19:47:29    阅读次数:223
用最简单的例子理解策略模式(Strategy Pattern)
当一个动作有多种实现方法,在实际使用时,需要根据不同情况选择某个方法执行动作,就可以考虑使用策略模式。 把动作抽象成接口,比如把玩球抽象成接口。 public interface IBall { void Play(); }有可能是玩足球、篮球、排球等,把这些球类抽象成实现接口的类。 public ...
分类:其他好文   时间:2014-09-06 23:44:34    阅读次数:353
android soundpool 参数说明
SoundPool 类的构造函数如下: SoundPool(int maxStreams, int streamType, int srcQuality) 作用:实例化一个SoundPool 实例 第一个参数:允许同时播放的声音最大值 第二个参数:声音类型 第三个参数:声音的品质 SoundPool 类中常用的函数如下: int load(Context context, int r...
分类:移动开发   时间:2014-09-04 11:47:19    阅读次数:246
Codeforces 235B. Let's Play Osu!
235B - Let's Play Osu! Let us take a deep look in how this score is calculated. for a n long 'O' block, they contribute n2 to answer. Let us reformat this problem a bit and consider the foll...
分类:其他好文   时间:2014-09-03 21:20:27    阅读次数:369
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!