mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-11 13:38:19 +00:00
Moved Animation.cs to 'Internal' folder and changed namespace
This commit is contained in:
@@ -12,10 +12,10 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
internal partial class ChangeTile : MetroForm
|
||||
{
|
||||
string selectedTile = "";
|
||||
Editor.Animation.AnimationCategory category = Editor.Animation.AnimationCategory.Blocks;
|
||||
Internal.Animation.AnimationCategory category = Internal.Animation.AnimationCategory.Blocks;
|
||||
|
||||
public string SelectedTile => selectedTile;
|
||||
public Editor.Animation.AnimationCategory Category => category;
|
||||
public Internal.Animation.AnimationCategory Category => category;
|
||||
|
||||
List<TreeNode> treeViewBlockCache = new List<TreeNode>();
|
||||
List<TreeNode> treeViewItemCache = new List<TreeNode>();
|
||||
@@ -43,8 +43,8 @@ namespace PckStudio.Forms.Additional_Popups.Animation
|
||||
selectedTile = tileData;
|
||||
Debug.WriteLine(selectedTile);
|
||||
category = e.Node.TreeView == treeViewItems
|
||||
? Editor.Animation.AnimationCategory.Items
|
||||
: Editor.Animation.AnimationCategory.Blocks;
|
||||
? Internal.Animation.AnimationCategory.Items
|
||||
: Internal.Animation.AnimationCategory.Blocks;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ using PckStudio.Forms.Utilities;
|
||||
using PckStudio.Extensions;
|
||||
using PckStudio.Properties;
|
||||
using System.Diagnostics;
|
||||
using PckStudio.Internal;
|
||||
|
||||
namespace PckStudio.Forms.Editor
|
||||
{
|
||||
|
||||
@@ -24,6 +24,7 @@ using System.Drawing.Drawing2D;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
using PckStudio.Extensions;
|
||||
using PckStudio.Internal;
|
||||
|
||||
namespace PckStudio.Forms.Editor
|
||||
{
|
||||
|
||||
@@ -21,11 +21,9 @@ using System.Drawing;
|
||||
using PckStudio.Extensions;
|
||||
using System.Text;
|
||||
|
||||
|
||||
// TODO: change namespace
|
||||
namespace PckStudio.Forms.Editor
|
||||
namespace PckStudio.Internal
|
||||
{
|
||||
sealed class Animation
|
||||
internal sealed class Animation
|
||||
{
|
||||
public const int MinimumFrameTime = 1;
|
||||
|
||||
@@ -299,7 +299,7 @@
|
||||
<Compile Include="Forms\Additional-Popups\MultiTextPrompt.Designer.cs">
|
||||
<DependentUpon>MultiTextPrompt.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\Editor\Animation.cs" />
|
||||
<Compile Include="Internal\Animation.cs" />
|
||||
<Compile Include="Forms\Editor\AnimationPictureBox.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
|
||||
Reference in New Issue
Block a user