-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
142 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// ----------------------------------------------------------------------- | ||
// <copyright file="PrismaticCloudHazard.cs" company="Exiled Team"> | ||
// Copyright (c) Exiled Team. All rights reserved. | ||
// Licensed under the CC BY-SA 3.0 license. | ||
// </copyright> | ||
// ----------------------------------------------------------------------- | ||
|
||
namespace Exiled.API.Features.Hazards | ||
{ | ||
using global::Hazards; | ||
using RelativePositioning; | ||
|
||
/// <summary> | ||
/// A wrapper for <see cref="PrismaticCloudHazard"/>. | ||
/// </summary> | ||
public class PrismaticCloudHazard : TemporaryHazard | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="PrismaticCloudHazard"/> class. | ||
/// </summary> | ||
/// <param name="hazard">The <see cref="PrismaticCloudHazard"/> instance.</param> | ||
public PrismaticCloudHazard(PrismaticCloud hazard) | ||
: base(hazard) | ||
{ | ||
Base = hazard; | ||
} | ||
|
||
/// <summary> | ||
/// Gets the <see cref="PrismaticCloudHazard"/>. | ||
/// </summary> | ||
public new PrismaticCloud Base { get; } | ||
|
||
/// <summary> | ||
/// Gets or sets the synced position. | ||
/// </summary> | ||
public RelativePosition SynchronisedPosition | ||
{ | ||
get => Base.SynchronizedPosition; | ||
set => Base.SynchronizedPosition = value; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters