mirror of
https://github.com/ConjureETS/DeathBook.git
synced 2026-03-25 13:00:59 +00:00
Continued person models
Signed-off-by: RosimInc <rosim_inc@hotmail.com>
This commit is contained in:
parent
67ea8902c5
commit
bfef2ae1ab
@ -14,5 +14,12 @@ namespace DeathBook.Model
|
|||||||
friend2 = p2;
|
friend2 = p2;
|
||||||
importance = scale;
|
importance = scale;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Person GetFriend(Person p)
|
||||||
|
{
|
||||||
|
if (p == friend1)
|
||||||
|
return friend2;
|
||||||
|
return friend1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -135,6 +135,7 @@ namespace DeathBook.Model
|
|||||||
|
|
||||||
//Person p = new Person(id, pos,);
|
//Person p = new Person(id, pos,);
|
||||||
Person p = new Person(id);
|
Person p = new Person(id);
|
||||||
|
p.initialPosition = pos;
|
||||||
|
|
||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user