Hi, I am trying to make game with a block that goes around the screen. For the block I found an example with an icon moving around screen and thought I could use code from this. Inside the view there is use of a getWidth, getHeight and getBounds methods that arent implemented within the classes. However when I use it in my view it comes up with an error. It wants me to create the methods within the view class. I had a look at the imports on the example and I seem to use all the imports so I cant see whats really going on. If anyone can provide an insight into this I would be really grateful.
PS. These methods are located within my thread class for the game which is built inside my view class if this makes any difference.