public void OnVoxelChanged(VoxelChangeEvent V) { if (Handler != null) { Handler(V); } }
public void OnVoxelChanged(VoxelChangeEvent V) { if (V.Type == VoxelChangeEventType.VoxelTypeChanged && V.NewVoxelType == 0) { Die(); } }
public void NotifyChangedVoxel(VoxelChangeEvent Change) { lock (ChangedVoxels) { ChangedVoxels.Add(Change); } }
public void OnVoxelChanged(VoxelChangeEvent e) { foreach (var task in Tasks) { task.OnVoxelChange(e); } }
public void OnVoxelChanged(VoxelChangeEvent V) { if (V.Type == VoxelChangeEventType.Explored) { Delete(); EntityFactory.CreateEntity <GameComponent>(EntityToSpawn, SpawnLocation, BlackboardData); } }
public override void OnVoxelChange(VoxelChangeEvent changeEvent) { CacheDirty = true; }
public virtual void OnVoxelChange(VoxelChangeEvent changeEvent) { }
public void OnVoxelChanged(VoxelChangeEvent V) { Handler?.Invoke(V); }