public static bool Handler(Event type, Dictionary <string, string> props) { MoveScript ms = new MoveScript(); ms.Update(props); Console.WriteLine(ms.location.ToString()); return(true); }
public void update() { //this section can be modified to update the active status of mobs script.Update(); if (!script.Active) { Active = false; } }