ADD: added own ship icon and adaption for cms result

This commit is contained in:
Henry Winkel
2024-03-14 18:35:52 +01:00
parent b17c62ae09
commit 4466dc4331
4 changed files with 91 additions and 4 deletions

View File

@@ -93,4 +93,11 @@ const Hostile = new Icon({
iconAnchor: [hostile.getAnchor().x, hostile.getAnchor().y],
});
export { iconShip, friend,Hostile,createIcon };
var OwnShipIcon = new Icon({
iconUrl: 'Own_Ship.svg',
iconSize: [50, 50], // size of the icon
});
export {OwnShipIcon, iconShip, friend,Hostile,createIcon };