Update() public method

public Update ( ) : void
return void
Esempio n. 1
0
    public static bool Handler(Event type, Dictionary <string, string> props)
    {
        MoveScript ms = new MoveScript();

        ms.Update(props);
        Console.WriteLine(ms.location.ToString());
        return(true);
    }
Esempio n. 2
0
 public void update()
 {
     //this section can be modified to update the active status of mobs
     script.Update();
     if (!script.Active)
     {
         Active = false;
     }
 }