08-12-2013, 08:43 PM
Hi Guys,
I've been messing around with the code and noticed that PassiveAggressiveMonster inherits directly from AggressiveMonster and hence there's no tidy way to override Tick and PlayerSeen such that passive aggressive mobs don't attack unless provoked.
I was going to propose that PassiveAggressiveMonster inherit from the general Monster class but wanted to know if there's a good reason that this isn't already the case?
I'll have a go at implementing passive/aggressive behaviour later depending on what you tell me.
I've been messing around with the code and noticed that PassiveAggressiveMonster inherits directly from AggressiveMonster and hence there's no tidy way to override Tick and PlayerSeen such that passive aggressive mobs don't attack unless provoked.
I was going to propose that PassiveAggressiveMonster inherit from the general Monster class but wanted to know if there's a good reason that this isn't already the case?
I'll have a go at implementing passive/aggressive behaviour later depending on what you tell me.