look at the code in my game or look at petit professers tutorial on turn based battle on youtube to give you a idea of how to do it.