基类:using UnityEngine;using System.Collections;public class CommonNPC : MonoBehaviour { // Use this for initialization void Start () { } // Update is.....
分类:
其他好文 时间:
2015-05-21 10:26:25
阅读次数:
105
新建activity分以下几部:
(1)在 /src/main/res/layout/ 中新建activity_second.xml
(2)在 /src/main/java 中新建 SecondActivity.java ,且内容如下:public class SecondActivity extends Activity{
protected void onCreate(Bundle...
分类:
移动开发 时间:
2015-05-21 09:13:19
阅读次数:
613
/**
* 书本:《Thinking In Java》
* 功能:散列与散列码
* 文件:Groundhog.java
* 时间:2015年5月3日09:42:54
* 作者:cutter_point
*/
package Lesson17Containers;
public class Groundhog
{
protected int number; //保护类型,继承之后还是保护类型
...
分类:
编程语言 时间:
2015-05-21 09:06:56
阅读次数:
146
using UnityEngine;using System.Collections;using Assets.Model;public class PlayerMove : MonoBehaviour { // Use this for initialization private Play...
分类:
移动开发 时间:
2015-05-21 08:59:33
阅读次数:
170
递归public class Solution { public ArrayList preorderTraversal(TreeNode root) { ArrayList res = new ArrayList(); traversal(root, res); ...
分类:
其他好文 时间:
2015-05-21 07:51:52
阅读次数:
113
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace Anonymous{ class Program { ...
位操作public class Solution { public int rangeBitwiseAnd(int m, int n) { // ref http://www.cnblogs.com/grandyang/p/4431646.html // 位操作运算...
分类:
其他好文 时间:
2015-05-21 06:40:41
阅读次数:
102
Caused by: java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/MetadataProvider at java.lang.Class.getDeclaredConstructors0(Na...
分类:
编程语言 时间:
2015-05-21 01:16:31
阅读次数:
328
首选创建一个新的项目,并添加一个MainViewController的Class文件打开MainViewController.h文件[cpp]view plaincopy @interfaceMainViewController:UIViewController @property(nonato.....
分类:
移动开发 时间:
2015-05-21 01:14:23
阅读次数:
334
/** * 加载图片工具类 * @author afu * */public class BitmapUtils implements TaskHandler { /** * 判断任务是否暂停 */ private boolean pauseTask = false; ...
分类:
其他好文 时间:
2015-05-21 01:12:26
阅读次数:
231