C# Класс Sharplike.Storylib.Relationships.Person

Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Trait_NewTrait ( object sender, EventArgs e ) : void

Описание методов

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Introduce() публичный Метод

"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
Результат Relationship

PassTime() публичный Метод

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.
Результат void

Person() публичный Метод

public Person ( String name ) : System
name String
Результат System