/** * used internally put an eventdata in the cinematic * * @param type the type of data * @param key the key * @param object the data */ public void putEventData(String type, Object key, Object object) { Map<String, Map<Object, Object>> data = getEventsData(); Map<Object, Object> row = data.get(type); if (row == null) { row = new HashMap<Object, Object>(); } row.put(key, object); data.put(type, row); }
/** * used internally put an eventdata in the cinematic * * @param type the type of data * @param key the key * @param object the data */ public void putEventData(String type, Object key, Object object) { Map<String, Map<Object, Object>> data = getEventsData(); Map<Object, Object> row = data.get(type); if (row == null) { row = new HashMap<Object, Object>(); } row.put(key, object); data.put(type, row); }