23 lines
486 B
C++
23 lines
486 B
C++
/*
|
|
* =====================================================================================
|
|
*
|
|
* Filename: Item.cpp
|
|
*
|
|
* Description:
|
|
*
|
|
* Created: 23/06/2018 22:30:25
|
|
*
|
|
* Author: Quentin Bazin, <quent42340@gmail.com>
|
|
*
|
|
* =====================================================================================
|
|
*/
|
|
#include "Item.hpp"
|
|
|
|
Item::Item(u32 id, u32 textureID, const std::string &name) {
|
|
m_name = name;
|
|
|
|
m_id = id;
|
|
m_textureID = textureID;
|
|
}
|
|
|