[MMO Demo] - ViewDistanceEnter/Exist question

Options
Alewinn
edited May 2011 in DotNet
Hi !

Sorry for that new noob Attack.
I'm currently integrating the MMOIsland demo inside our framework (i mean, i want to reuse the interestArea thing), and i'm confused by the different ViewDistanceEnter/Exit the client uses.

I've understand that the "Item" class is for a remote item and the "MyItem" class is used for the local player. So far, so Good.
Hacking further i've found the "InterestArea" Class that, also, have some ViewDistanceEnter/Exit, and that's what confuse me.

What i wanted to know is what are the differences between InterestArea.ViewDistanceEnter(exit) and MyItem.ViewDistanceEnter(exit). In what case is it more suitable to use one or the other ?

Comments

  • Alewinn
    Options
    ... I reconise that my question is not very clear.

    In fact it can be resumed like this :

    Why is there a ViewDistanceEnter and a ViewDistanceExit inside the Item class ?
  • Boris
    Options
    That is just a property for the demo: The windows forms client displays the interest areas of the other players.
  • Alewinn
    Options
    ... I realised that this question was a bit stupid. Please forgive me :p