Back to the Vavoom Forum Archives


Forum

Concerning couple of function names

Sun, 30 Mar 2008 13:15:59

Crimson Wizard

Well, there are 2 methods in PlayerEx class now, KilledByPlayer and PlayerKilled. Earlier they were members of EntityEx IIRC, now when they are members of PlayerEx their usage changed; for example KilledByPlayer assumed that method's owner object was killed and killer refrence was sent as parameter, now its vice versa. Thus I propose to rename them so that it feeled more sense, like KilledByPlayer -> KilledEntity PlayerKilled -> just Killed or Died or similar.
Mon, 31 Mar 2008 14:01:45

Firebrand

It would make things easier to read IMO, so I second this suggestion <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->.
Tue, 01 Apr 2008 13:07:13

Janis Legzdinsh

Done.

Back to the Vavoom Forum Archives