XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

DeathMod

【Terraria】DeathMod (now aka Soul Harvest)

公开
关注 0 Fork 0 Star 0
UTF-8
using Microsoft.Xna.Framework.Graphics;
using System;

namespace SoulHarvest.Common;

internal sealed class ReaperUltimateCrescentMaskSet : IDisposable
{
    public readonly float Sweep;
    public readonly float ThicknessRatio;
    public readonly Texture2D Body;
    public readonly Texture2D Flow;
    public readonly Texture2D Edge;

    public ReaperUltimateCrescentMaskSet(
        float sweep,
        float thicknessRatio,
        Texture2D body,
        Texture2D flow,
        Texture2D edge)
    {
        Sweep = sweep;
        ThicknessRatio = thicknessRatio;
        Body = body;
        Flow = flow;
        Edge = edge;
    }

    public void Dispose()
    {
        Body.Dispose();
        Flow.Dispose();
        Edge.Dispose();
    }
}