protected override void SetRandomPosition(SpawnWithRandomX data, SpawnWithRandomX group) { var handler = new SetRandomPosition(); handler.System = this; handler.Event = data; handler.Group = group; handler.Execute(); }
protected void SetRandomPositionFilter(SpawnWithRandomX data) { var GroupSpawnWithRandomX = SpawnWithRandomXManager[data.EntityId]; if (GroupSpawnWithRandomX == null) { return; } if (!GroupSpawnWithRandomX.Enabled) { return; } this.SetRandomPosition(data, GroupSpawnWithRandomX); }