没有合适的资源?快使用搜索试试~ 我知道了~
typed-screeps:游戏的强大TypeScript声明
共57个文件
ts:31个
json:8个
md:7个
需积分: 5 0 下载量 157 浏览量
2021-05-02
15:58:25
上传
评论
收藏 157KB ZIP 举报
温馨提示
打字爬行 游戏Screeps的强健TypeScript声明。 安装 类型定义发布在。 要安装它们,请运行以下命令。 # npm npm install @types/screeps # yarn yarn add @types/screeps 与 此仓库具有更多活动,并且是最新的。 重大更改: 默认情况下键入Memory 。 添加的类型为: CreepMemory FlagMemory SpawnMemory RoomMemory 如果您喜欢类型化内存的想法,但还不准备完全投入使用,则只需要确保为上述四种类型定义一个接口即可。 然后,您可以在以后扩展它们。 例子: interface CreepMemory { [ name : string ] : any } ; interface FlagMemory { [ name : string ] : any } ; in
资源推荐
资源详情
资源评论
收起资源包目录
typed-screeps-master.zip (57个子文件)
typed-screeps-master
.gitignore 149B
package.json 2KB
tslint.json 418B
package-lock.json 139KB
src
room-position.ts 10KB
store.ts 3KB
mineral.ts 1KB
structure.ts 27KB
market.ts 6KB
room-visual.ts 6KB
nuke.ts 674B
tombstone.ts 1KB
raw-memory.ts 3KB
power-creep.ts 11KB
flag.ts 2KB
source.ts 1KB
creep.ts 15KB
game.ts 4KB
room-object.ts 2KB
resource.ts 733B
deposit.ts 1KB
construction-site.ts 1KB
ruin.ts 821B
memory.ts 402B
literals.ts 18KB
inter-shard-memory.ts 1KB
map.ts 10KB
room-terrain.ts 789B
helpers.ts 13KB
room.ts 13KB
spawn.ts 8KB
path-finder.ts 6KB
constants.ts 29KB
.travis.yml 139B
build
prependDescription.js 515B
header.txt 712B
concat.js 410B
prependHeader.js 414B
CONTRIBUTING.md 3KB
dist
tslint.json 349B
screeps-tests.ts 29KB
tsconfig.json 488B
index.d.ts 197KB
CODE_OF_CONDUCT.md 3KB
LICENSE 1KB
CHANGELOG.md 15KB
tsconfig.json 328B
.github
PULL_REQUEST_TEMPLATE.md 412B
ISSUE_TEMPLATE
bug-report.md 541B
definition-changes.md 399B
README.md 6KB
.vscode
settings.json 348B
extensions.json 128B
.npmignore 130B
.gitattributes 38B
.editorconfig 228B
.prettierrc 552B
共 57 条
- 1
资源评论
人间发财树
- 粉丝: 23
- 资源: 4560
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功