Subversion Repositories SmartDukaan

Rev

Rev 82 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 82 Rev 88
Line 87... Line 87...
87
			// Learned 
87
			// Learned 
88
			if(expBulletDef.isLearned()) {
88
			if(expBulletDef.isLearned()) {
89
				EntityContainer ents = 
89
				EntityContainer ents = 
90
					Catalog.getInstance().getEntityContainer();
90
					Catalog.getInstance().getEntityContainer();
91
				
91
				
-
 
92
				Utils.info("ents.getLearnedBullets="+ents.getLearnedBullets());
-
 
93
				Utils.info("expFeatureDef.getID="+expFeatureDef.getID());
-
 
94
				
92
				List<ExpandedBullet> learnedBullets = 
95
				List<ExpandedBullet> learnedBullets = 
93
					ents.getLearnedBullets(expFeatureDef.getID());
96
					ents.getLearnedBullets(expFeatureDef.getID());
-
 
97
				
-
 
98
				if(learnedBullets != null) {
94
				for(ExpandedBullet expBullet : learnedBullets) {
99
					for(ExpandedBullet expBullet : learnedBullets) {
95
					
100
						
96
					// REVISIT - for now
101
						// REVISIT - for now
97
					possibleValues.add(expBullet.getValue());
102
						possibleValues.add(expBullet.getValue());
-
 
103
					}
98
				}
104
				}
99
				
105
				
100
				this.py.set("possibleValues", possibleValues);
106
				this.py.set("possibleValues", possibleValues);
101
			}
107
			}
102
			
108