Original Post
Hey
I'm having a problem with adding game component. In previous chapter I ignored the FPS component (I was more interested in creating graphics then counting frames), but I see that this chapter is all about game components so I tried to add the FPS component. I added the necessary code into the game component class and the Game1 class, but it keeps showing me the error "The type or namespace FPS could not be found ". I tried to fix this by writing the code myself (again), importing the game component from the code provided by mentor(s), even copying the code into my component part by part, and I get the same error every time.
Please advise
I'm having a problem with adding game component. In previous chapter I ignored the FPS component (I was more interested in creating graphics then counting frames), but I see that this chapter is all about game components so I tried to add the FPS component. I added the necessary code into the game component class and the Game1 class, but it keeps showing me the error "The type or namespace FPS could not be found ". I tried to fix this by writing the code myself (again), importing the game component from the code provided by mentor(s), even copying the code into my component part by part, and I get the same error every time.
Please advise