-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMapHelper.cs
More file actions
24 lines (21 loc) · 1.03 KB
/
MapHelper.cs
File metadata and controls
24 lines (21 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using Il2CppAssets.Scripts.Models.Map;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BergsMapPack
{
public static class MapHelper
{
private static System.Random random = new System.Random();
public static PointInfo AddPoint(double x, double y)
{
return new PointInfo() { bloonScale = 1, bloonsInvulnerable = false, distance = 1, id = random.NextDouble() + "", moabScale = 1, moabsInvulnerable = false, rotation = 0, point = new Il2CppAssets.Scripts.Simulation.SMath.Vector3((float)x, (float)y), bloonSpeedMultiplier = 1 };
}
public static PointInfo AddInvulnerablePoint(double x, double y)
{
return new PointInfo() { bloonScale = 1, bloonsInvulnerable = true, distance = 1, id = random.NextDouble() + "", moabScale = 1, moabsInvulnerable = true, rotation = 0, point = new Il2CppAssets.Scripts.Simulation.SMath.Vector3((float)x, (float)y), bloonSpeedMultiplier = 10 };
}
}
}