XNA 中的 Game 类,是所有神奇事情发生的地方。几乎游戏中所有的事情都由它来操办。 它是项目中的王者,让我们深入窥探一番: 虚方法 Game 本身从众多其它地方继续了许多能力才能完成游戏中的事情。因而它必然会重写一些方法, 以更好地完成任务。我们已经看到了一些: Initialize ,如你所...
分类:
其他好文 时间:
2014-06-28 13:55:08
阅读次数:
186
【Awake & Start】MonoBehaviour.Awake() Awake is used to initialize any variables or game state before the game starts. Awake is called only once during....
分类:
其他好文 时间:
2014-06-26 00:37:37
阅读次数:
293
读取.dat图像文件
initial begin
// Initialize Inputs
CLK = 0;
RST = 1;
IMAGE_DATA = 0;
BUFFER_WEN = 0;
// Wait 100 ns for global reset to finish
#10000;
RST = 0;
#100;
RST = 1;
/...
分类:
其他好文 时间:
2014-06-24 20:31:16
阅读次数:
223
1,host 就是WIN7 使用WIFI上网
2,打开设置你的VM 8
edit--Virutal network editor--VMnet0--Bridged (connect VMs to directly to the external network)--下拉菜单--选择Bridged to 你的无线上网卡型号或者是AutoMatic...
分类:
其他好文 时间:
2014-06-22 22:07:50
阅读次数:
243
原文首发在github上 MongoNote01.Start
MongoDB is an open-source document database that provides high performance, high availability, and automatic scaling.
这是mongo官方给出的定义。定义里的几个关键点体现了mongo的几个突出的优点:
do...
分类:
其他好文 时间:
2014-06-22 15:31:57
阅读次数:
280
Oracle 11g之前,当数据库出现问题时,往往第一时间需要看alert日志,看看里面记录了哪些错误,可以给我们提示。alert文件名则
是alert_.log,文件存储路径由参数background_dump_dest决定,例如:
SQL> show parameter background_dump_dest
NAME...
分类:
数据库 时间:
2014-06-22 11:43:46
阅读次数:
296
header("Content-type: image/png");
$im = @imagecreatetruecolor(282, 282) or die("Cannot Initialize new GD image stream");
imagecopy($im, imagecreatefrompng('C02D9CE4B4B6E3F6DF8D9DB734.png'), 1,1,0,0,2...
分类:
Web程序 时间:
2014-06-21 20:01:39
阅读次数:
854
2014-06-14 BaoXinjian一、摘要Initialize data(数据初始化):用于新增记录对值Value的初始化1.在Design time 时设定Page item的Default value.2. 在Run time 时用编程方式设定, Default value的设定这里不说...
分类:
其他好文 时间:
2014-06-19 06:40:54
阅读次数:
446
“WARN Please initialize the log4j system properly“的解决办法...
分类:
其他好文 时间:
2014-06-17 22:18:27
阅读次数:
375
打开你的工程,点击目录的工程文件,最顶端蓝色的,然后选择project下你的工程,还是蓝色那项,然后build Settings,然后往下拉,在Apple LLVM 5.0 - Language - Objective C 里有一个选项,Objective-C Automatic Reference...
分类:
其他好文 时间:
2014-06-17 15:53:20
阅读次数:
206