Is the parachute an actor? Answer: no.
And now the good news.
<PersonParachuteLanded> and <PersonParachuteFailed> are events:
PersonParachuteLanded = maddox.game.GameEventId #27
PersonParachuteFailed = maddox.game.GameEventId #28
And so, you may get some information from these methods:
Code:
public override void OnPersonParachuteFailed(AiPerson person) {
base.OnPersonParachuteFailed(person);
}
public override void OnPersonParachuteLanded(AiPerson person) {
base.OnPersonParachuteLanded(person);
}
Wherever we talk about an AiPerson, we can treat the object as an AiActor.The following line demonstrates this:
< public interface AiPerson : AiActor >
C# supports multiple inheritance of interfaces. So, the source code uses interfaces to implement multiple inheritance. The language uses the colon in the interface declaration to indicate that AiPerson is an AiActor. We may say that AiActor is base interfaces of AiPerson. Looking at the relationship from the other direction, we can also say that AiPerson is a derived interface of AiActor.
So, Oleg Maddox and his team added the extra function that allows the AiPeron to give an AiActor extra ability. What we haven’t to do is to duplicate all the functionality of the AiActor; that comes along anyway.
Bookmarks