equal
deleted
inserted
replaced
116 |
116 |
117 |
117 |
118 return ""; |
118 return ""; |
119 } |
119 } |
120 |
120 |
|
121 GameStyleModel * DataManager::gameStyleModel() |
|
122 { |
|
123 if (m_gameStyleModel == NULL) { |
|
124 m_gameStyleModel = new GameStyleModel(); |
|
125 m_gameStyleModel->loadGameStyles(); |
|
126 } |
|
127 return m_gameStyleModel; |
|
128 } |
|
129 |
121 HatModel * DataManager::hatModel() |
130 HatModel * DataManager::hatModel() |
122 { |
131 { |
123 if (m_hatModel == NULL) { |
132 if (m_hatModel == NULL) { |
124 m_hatModel = new HatModel(); |
133 m_hatModel = new HatModel(); |
125 m_hatModel->loadHats(); |
134 m_hatModel->loadHats(); |