webgames/templates/carcassonne/r2-road2.svg
2021-10-31 14:44:14 +01:00

9 lines
984 B
XML

<g transform="translate({{ x }} {{ y }})">
<g transform="rotate({{ rotation }} 50 50)">
<path class="pasture{% if resources[1].uuid() in claimable %} claimable{% endif %}" id="resource-1" data-uuid="{{ resources[1].uuid() }}" d="M 0 0 V 40 C 60 40, 60 40, 60 100 H 100 V 55 C 55 55, 45 45, 45 0 Z" />
<path class="pasture{% if resources[2].uuid() in claimable %} claimable{% endif %}" id="resource-2" data-uuid="{{ resources[2].uuid() }}" d="M 0 100 V 60 C 40 60, 40 60, 40 100 Z" />
<path class="pasture{% if resources[3].uuid() in claimable %} claimable{% endif %}" id="resource-3" data-uuid="{{ resources[3].uuid() }}" d="M 100 0 V 45 C 45 45, 45 45, 55 0 Z" />
<path class="river" d="M 0 40 C 60 40, 60 40, 60 100 H 40 C 40 60, 40 60, 0 60 Z" />
<path class="road{% if resources[4].uuid() in claimable %} claimable{% endif %}" id="resource-4" data-uuid="{{ resources[4].uuid() }}" d="M 45 0 C 45 45, 55 55, 100 55 V 45 C 65 45, 55 35, 55 0 Z" />
</g>
</g>