public void Change(Move name) { if (currentMove != null) { currentMove.IsEnd(); } currentMove = states[name]; currentMove.Initialize(); }