【发布时间】:2016-08-30 21:21:06
【问题描述】:
使用系统;
我正在使用 string[] TalentSlots = new string[2]; 我想做一个 agent.talentSlots = blah blah 事情我该怎么做?
namespace warhammerRPGCB
{
public class classes
{
string className;
int stanceRed;
int standGreen;
string carrerSkills;
string primaryChar;
string[] talentSlots = new string[2];
int focusSlot;
int reputationSlot;
int tacticSlot;
public classes()
{
classes agent = new classes();
agent.className = "Agent";
agent.carrerSkills = "Charm, Education, Folklore, Guile, Intution";
agent.stanceRed = 2;
agent.standGreen = 2;
agent.primaryChar = "Intelligence, Felloship";
agent.tacticSlot = focusTalent, reputationTalent;
}
}
}
【问题讨论】: