コード例 #1
0
ファイル: FamilyNames.cs プロジェクト: Grandthrax/intrigue
 public TheCast()
 {
     the_relationships = new Dictionary<PatricianPair, Relationships>();
     the_patricians = new List<Patricians>();
     the_player = new Player();
     the_tribes = new List<Tribes>();
     the_opposition = new List<Opposition>();
 }
コード例 #2
0
ファイル: Mechanics.cs プロジェクト: Grandthrax/intrigue
 public static bool StreetSmartCheck(Player player)
 {
     return (player.street_smarts > new Random().Next(0, 10));
 }
コード例 #3
0
ファイル: Mechanics.cs プロジェクト: Grandthrax/intrigue
 public static bool ObservationRoll(Player player)
 {
     return (player.observation > new Random().Next(0, 10));
 }
コード例 #4
0
ファイル: MainCharacter.cs プロジェクト: Grandthrax/intrigue
 public MainCharacter(Player Player)
 {
     InitializeComponent();
     textBox1.Text = ViewedText.newCharacter_exSlave();
     player = Player;
 }