Thread: Xbox Controller
View Single Post
  #15   Spotlight this post!  
Unread 23-06-2014, 15:53
LFRobotics's Avatar
LFRobotics LFRobotics is offline
Registered User
FRC #4623
 
Join Date: Jan 2014
Location: Little Falls, MN
Posts: 95
LFRobotics is on a distinguished road
Re: Xbox Controller

Ok AWESOME - now this may seem like a dumb question to you but im a beginner programmer so here it is

How exactly do I extend the Joystick class - I tried it like this:

Code:
public class XBox extends Joystick {
}
but Netbeans doesn't like that

When you say

Quote:
include a single parameter constructor that calls the Joystick constructor
do you want that in the class and would that just look like

Quote:
Joystick stick = new Joystick();
THANKS for all your help!
Reply With Quote