Skip to content

Ravadre/Screeps.Typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screeps TypeScript

This repository is a Screeps TypeScript type definitions and more.

How to use

Reference screeps.d.ts file in your TypeScript source

/// <reference path="Scripts/typings/screeps/screeps.d.ts" />

Some string constants from Game object have been moved out to reduce pollution of this object. If you want to use them you should include minimalistic Screeps library defined in screeps.lib.ts Functions in this library will use lodash, so make sure to include it in your Screeps AI before screeps.lib.ts is included.

About

Screeps binding for Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published