public void Update() { if (moveBoat) { moveBoat.Update(); } if (moveCharacter) { moveCharacter.Update(); } }