The link I had droped in my first question can help me a lot in making myself clear.
There is no need to be more clear. Your point was made clear in the first post. I (and others) fully understand what you are trying to accomplish. However no one is going to do it for you.
So what do you think I must do now?
I think you should read everything I said so far, since it is the same thing written different ways, and you still have not done so.
You need to write down a step by step process which will solve the problem. Note that this has nothing to do with code yet.
Obviously the speed of the missile must be higher than that of the aircraft.
ok
The aircrafts fly in a steady speed.
Not necessary to know this fact as long as the above is true
This is also true about the missiles but they are moving with a higher speed.
Same for this but ok
So in every step we have the coordinates of the missile and the aircraft.
Now this is some useful information. How you get this information will be part of the solution.
It all boils down to this: If you don't know how to write the code for it, you need a guide. The guide is what I am trying to get you to write up. The process of getting locations, doing some work to determine the heading of the missile, and repeating the process until the missile has hit the aircraft.
Two reasons why I don't write it for you.
1)You have to learn how to solve your own problems. (This is what we help with, we do not directly help with writing code.)
2)Since I don't know anything about the existing code, there is little chance I would offer advice that fit your code correctly. (Short of the very general advice given so far)
I would say the missile movement would be part of the missile class. A reference to the aircraft being targeted would be passed to the missile as the missile was fired (possibly this is when the missile is created so perhaps in the constructor). The missile could then get the target's location and adjust heading on each tick.
I'm going to insist you put some effort in before your next reply, or have a good question about where you are stuck.