On Thu, 23 Aug 2012 06:54:04 AM Michael Vehrs wrote: > It would be nice to base all decisions on the abilities of objects > instead. We don't really care where these abilities come from.
I have now cleaned up the ones where there was an `obviously correct' ability to use (svn.10103). There are some switch statements that are harder. > The AI uses hard-coded roles to decide what to do with units in > several places. If we could change that, moving to a different role > implementation would become easier. What is hard there is dealing with AIUnit.equipForRole and/or Role.getRoleEquipment(). I fear that will have to wait for the full role cutover. Cheers, Mike Pope
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Freecol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freecol-developers
