File size: 497 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class BloodyHands
{
	string m_Materials[2];
	
	const int MATERIAL_TYPE_NORMAL = 0;
	const int MATERIAL_TYPE_BLOODY = 1;

	void BloodyHands( string normal_material, string bloody_material )
	{
		m_Materials[MATERIAL_TYPE_NORMAL] = normal_material;
		m_Materials[MATERIAL_TYPE_BLOODY] = bloody_material;
	}

	string GetMaterial( int material_type )
	{
		return m_Materials[material_type];
	}

	void SetMaterial( int material_type, string material )
	{
		m_Materials[material_type] = material;
	}
	
}