public void CopyFrom(AmTexture pFrom) { mName = pFrom.mName; mR = pFrom.mR; mG = pFrom.mG; mB = pFrom.mB; }
// -3 ~ +3 /// ///////////////////////////////////////////////////////////////// Public Functions public AmPlayer() { //SHIRT, PANT, GLOVE, SOCK, SHOE AmTexture newTxr = new AmTexture(); mDirectObj = new AmDirection(); mpName = ""; arrTexture.Add(newTxr); // Shirt....0 /// Save 5 texture in arrTexture }
void TextureReady() { if(Ag.mgIsKick) { mShirt = Ag.mySelf.mShirt; mPants = Ag.mySelf.mPants; mSocks = Ag.mySelf.mSocks; mGkShirt = Ag.myEnem.mGlShirt; mGkPants = Ag.myEnem.mGlPants; mGkSocks = Ag.myEnem.mGlSocks; } else { mShirt = Ag.myEnem.mShirt; mPants = Ag.myEnem.mPants; mSocks = Ag.myEnem.mSocks; mGkShirt = Ag.mySelf.mGlShirt; mGkPants = Ag.mySelf.mGlPants; mGkSocks = Ag.mySelf.mGlSocks; } }