Changes between Version 1 and Version 2 of Ticket #1520, comment 5


Ignore:
Timestamp:
Jul 4, 2012, 8:49:54 AM (12 years ago)
Author:
wraitii

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1520, comment 5

    v1 v2  
    1 entityTemplate should only ever call that shared set of template data, right? In this case, I see two solutions: you give each AI its set, and you update it accordingly, oy for each call to this set, you check for the AI's tech and you return up-to-date value.
     1entityTemplate should only ever call that shared set of template data, right? In this case, I see two solutions: you give each AI its set, and you update it accordingly, oy for each call to this set, you check for the AI's tech and you return up-to-date value (probably easier to do in the short run, but probably slower for the AIs too).
     2
    23Entity should only ever be used to access data that can't be read from a template (in theory.I think the common api respects this convention mostly. ). In this case, the problem can probably be solved some other way.