WarriorJS Docs
  • Player
  • Maker
  • 社區
  • 繁體中文
    • English
    • العربية
    • Català
    • Čeština
    • Deutsch
    • Ελληνικά
    • Español
    • Français
    • Italiano
    • Polskie
    • Русский
    • Српски језик (Ћирилица)
    • Svenska
    • Türkçe
    • 中文
    • 協助翻譯
  • GitHub

›指南

指南

  • 簡介
  • 創造你的層塔
  • 增加塔層
  • 定義技能
  • 定義單位
  • 重構
  • 測試
  • 發佈

製作者 API

  • 空間 API
  • 單位 API
Translate

創造你的層塔

WarriorJS層塔是一個單一匯出的常規JavaScript模組:

module.exports = {
  // Tower definition.
};

讓我們為層塔定義名字及寫上一個簡單描述:

module.exports = {
  name: 'Game of Thrones',
  description:
    'There is only one war that matters: the Great War. And it is here.',
};

好!但層塔還沒有樓層給人去爬,讓我們為層塔加上一些樓層吧!

← 簡介增加塔層 →
WarriorJS Docs
Docs
PlayerMaker
Community
SpectrumTwitterFollow WarriorJS on Twitter
More
DonateGitHubStar