Ooo thank you very much!
Now I understand inheritance much better. I didn't see the closest() method because I was only looking at the methods that were specific to each class, though all of these classes (grounditem, npc etc.) are subclasses of the Entity class.
Can you clarify what you mean by having to pass the Script object?
Currently I am working on my first script and I have only one class file. I assume you mean something about having separate class files.
Would the Script object be passed into the constructor?
So something like druidKiller(Script sA)?