public void NeoMemoryUpdatesPersonLocation() { LocationData data = new LocationData("kitchen", 200, 200); neoMemory.MemorizeLocation(data); neoMemory.UpdatePersonLocation("you", "kitchen"); Assert.AreEqual(1, DBUtils.getId(DBUtils.PERSON_LOCATION, DBUtils.PEOPLE_TABLE, DBUtils.PEOPLE_COL, "you")); }
public void LearnLocation(LocationData data) { neoBrain.MemorizeLocation(data); person.entityLocation = data.locationName; }