futurename / FinalGameDesign

C70-FinalAdventureGame
0 stars 0 forks source link

AttackFrom: #33

Open futurename opened 3 years ago

futurename commented 3 years ago
  1. check whether the army num >1
  2. check the defender country is adjacent of the attacking country.
  3. check the owner of defending country is different from the attacking country.
  4. call attackFrom()
  5. updateWorldmap();