C# Class Sharplike.Storylib.Relationships.Person

Inheritance: IDisposable
Afficher le fichier Open project: eropple/sharplike Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Introduce ( Person p ) : Relationship

"Introduces" the person to someone else, creating a new relationship and populating it with the other person's qualities.

PassTime ( double shorttermchange ) : void

The person observes a passage of time, which decays all short term impressions.

Impressions do not decay linearly. The farther an impression is from indifference, the faster it will decay. Likewise, decay will slow as the impression approaches zero (indifferent).

Person ( String name ) : System

Private Methods

Méthode Description
Trait_NewTrait ( object sender, EventArgs e ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Introduce() public méthode

"Introduces" the person to someone else, creating a new relationship and populating it with the other person's qualities.
public Introduce ( Person p ) : Relationship
p Person The person to introduce
Résultat Relationship

PassTime() public méthode

The person observes a passage of time, which decays all short term impressions.
Impressions do not decay linearly. The farther an impression is from indifference, the faster it will decay. Likewise, decay will slow as the impression approaches zero (indifferent).
public PassTime ( double shorttermchange ) : void
shorttermchange double How much impressions should decay.
Résultat void

Person() public méthode

public Person ( String name ) : System
name String
Résultat System