0
任何想法如何在外部模塊中訪問此靜態屬性?在game.ts類遊戲包含實際的靜態屬性,但是遊戲是不可訪問,到模塊GameObjects如何訪問外部模塊中另一個.ts文件的靜態屬性
///<reference path="game.ts" />
export module GameObjects {
export class Player implements GameObject {
color: string = Game.staticProperty;
etc
啊我看到我必須導出課程遊戲了! – Nikos