feat: made sure the aspect ration fit a pixel art game and added useful addons
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 6s
Create tag and build when new code gets to main / Export (push) Successful in 3m16s

This commit is contained in:
2025-06-27 15:19:12 +02:00
parent 4ec91c1277
commit 9a79715e47
550 changed files with 18812 additions and 0 deletions

View File

@ -0,0 +1,39 @@
// ReSharper disable once CheckNamespace
namespace GodotStateCharts
{
using Godot;
/// <summary>
/// Base class for all wrapper classes for Godot Resource types. Provides common functionality. Not to be used directly.
/// </summary>
public abstract class ResourceWrapper
{
/// <summary>
/// The wrapped resource. Useful for you need to access the underlying resource directly,
/// e.g. for serialization.
/// </summary>
public readonly Resource Wrapped;
protected ResourceWrapper(Resource wrapped)
{
Wrapped = wrapped;
}
/// <summary>
/// Allows to call methods on the wrapped resource deferred.
/// </summary>
public Variant CallDeferred(string method, params Variant[] args)
{
return Wrapped.CallDeferred(method, args);
}
/// <summary>
/// Allows to call methods on the wrapped resource.
/// </summary>
public Variant Call(string method, params Variant[] args)
{
return Wrapped.Call(method, args);
}
}
}