Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function getNeededCash():int
- {
- var loc1:*;
- loc1 = 0;
- var loc2:*;
- loc2 = 0;
- while (loc2 < m_neededText.length)
- {
- loc1 = loc1 + (int(m_neededText[loc2].amount) * m_materialCost);
- ++loc2;
- }
- return loc1;
- }
Add Comment
Please, Sign In to add comment