C# 클래스 Sharplike.Storylib.Relationships.Person

상속: IDisposable
파일 보기 프로젝트 열기: eropple/sharplike 1 사용 예제들

공개 메소드들

메소드 설명
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