public KeyboardControl(SpaceShip _theSpaceship, ButtonAction _spaceButtonFunction, ButtonAction _leftArrowFunction, ButtonAction _rightArrowButton) { theSpaceship = _theSpaceship; SpaceButtonFunction = _spaceButtonFunction; LeftArrowButtonFunction = _leftArrowFunction; RightArrowButtonFunction = _rightArrowButton; }
public KeyboardControl(SpaceShip _theSpaceship) { theSpaceship = _theSpaceship; }