Beispiel #1
0
            // Switch places with the monster (Only for switch-hook interactions).
            public static void SwitchHook(Monster monster, Entity sender, EventArgs args)
            {
                SwitchHookProjectile hook = sender as SwitchHookProjectile;

                hook.SwitchWithEntity(monster);
                monster.BeginState(new MonsterBusyState(20));
            }
 // Switch places with the monster (Only for switch-hook interactions).
 public static void SwitchHook(Monster monster, Entity sender, EventArgs args)
 {
     SwitchHookProjectile hook = sender as SwitchHookProjectile;
     hook.SwitchWithEntity(monster);
     monster.BeginState(new MonsterBusyState(20));
 }