コード例 #1
0
 public virtual void SetHome(Place newPlace)
 {
     RemoveAllRelationshipsOfType(RelationshipType.home);
     AddRelationship(newPlace, RelationshipType.home);
 }
コード例 #2
0
 public virtual void SetLocation(Place newPlace)
 {
     RemoveRelationship(GetLocation(), RelationshipType.location);
     AddRelationship(newPlace, RelationshipType.location);
 }
コード例 #3
0
 public PhysObject(Place _location)
 {
     AddRelationship(_location, RelationshipType.location);
 }