All pastes #250641 Raw Edit

Untitled

public java v1 · immutable
#250641 ·published 2006-11-17 04:02 UTC
rendered paste body
public class Person {	int pid;	String race; // First Determine Race	String sex;  // Then Determine Sex	String fName;	String lName;	int mother;	int father;	int spouse;	int birthYear;	int birthMonth;	int birthDay;		public Person(WorldSim world, int mother, int father) {	            this.mother = mother;            this.father = father;	    if((mother == 0)||(father == 0)) {			// Determine Random Race			// Determine Random Last Name based on Race			// Determine Raw Stats(Child 1d6*5)	    } else {			// Determine Race based on Parents			// Determine Last Name based on Parents and Status			//   Children without Married Parents get mothers last name			// Determine Modded Stats(Child 1d6*5+(50-ParStats/5))	    }		// Determine Sex Based on Race		// Determine First Name based on Race	}	public void age(WorldSim world) {// Increment Age by one month		// Check for Major Events this month		//   Including Ongoing Events		// Check for Minor Events		// Check for personal Events		// Age by One month	} }