function draw_body_from_template(name, pos, alpha)
{
	templates['fake_body'].render.globalAlpha = alpha || 1;
	templates['fake_body'].position = pos;
	Common.extend(templates['fake_body'].render.sprite, templates[name].render.sprite);
	Matter.Body.redraw(engine, templates['fake_body']);
}
// Warning: Only use with templates that define textures
Only use with templates that define textures
Only use with templates that define textures
function draw_body_from_template(name, pos, alpha)
{
	templates['fake_body'].render.globalAlpha = alpha || 1;
	templates['fake_body'].position = pos;
	Common.extend(templates['fake_body'].render.sprite, templates[name].render.sprite);
	Matter.Body.redraw(engine, templates['fake_body']);
}
function draw_body_from_template ( name , pos , alpha ) { templates [ 'fake_body' ] . render . globalAlpha = alpha || 1 ; templates [ 'fake_body' ] . position = pos ; Common . extend ( templates [ 'fake_body' ] . render . sprite , templates [ name ] . render . sprite ) ; Matter . Body . redraw ( engine , templates [ 'fake_body' ] ) ; }
Warning: Only use with templates that define textures
Warning : Only use with templates that define textures