예제 #1
0
 public void assignWindow(string rootName)
 {
     mScript.newObject(out mRoot, rootName);
     mScript.newObject(out mHead, mRoot, "Head");
     mScript.newObject(out mName, mRoot, "Name");
     mScript.newObject(out mMoneyIcon, mRoot, "MoneyIcon");
     mScript.newObject(out mMoneyValue, mMoneyIcon, "MoneyValue");
     mScript.newObject(out mReady, mRoot, "Ready", 0);
     mScript.newObject(out mBanker, mRoot, "Banker", 0);
 }
예제 #2
0
 public void assignWindow(ScriptAllCharacterInfo script, string rootName)
 {
     mScript     = script;
     mRoot       = mScript.newObject <txUIObject>(rootName);
     mHead       = mScript.newObject <txUIStaticSprite>(mRoot, "Head");
     mName       = mScript.newObject <txUIText>(mRoot, "Name");
     mMoneyIcon  = mScript.newObject <txUIStaticSprite>(mRoot, "MoneyIcon");
     mMoneyValue = mScript.newObject <txUINumber>(mMoneyIcon, "MoneyValue");
     mReady      = mScript.newObject <txUIStaticSprite>(mRoot, "Ready", 0);
     mBanker     = mScript.newObject <txUIStaticSprite>(mRoot, "Banker", 0);
 }