33 lines
683 B
C#
33 lines
683 B
C#
|
|
|
||
|
|
using Godot;
|
||
|
|
|
||
|
|
|
||
|
|
namespace Rokojori
|
||
|
|
{
|
||
|
|
[Tool]
|
||
|
|
[GlobalClass, Icon("res://addons/rokojori_action_library/Icons/WindManager.svg") ]
|
||
|
|
public partial class WindManagerData:Resource
|
||
|
|
{
|
||
|
|
[Export]
|
||
|
|
public Vector2 windDirection = new Vector2( 1, 0 );
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public WindSpeed windSpeed = new TextureKMHWindSpeed();
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public float minimumScrollSpeedKMH = 5;
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public float maximumScrollSpeedKMH = 100;
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public Vector2PropertyName globalWindPositionPropertyName;
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public Vector2PropertyName globalWindDirectionPropertyName;
|
||
|
|
|
||
|
|
[Export]
|
||
|
|
public FloatPropertyName globalWindSpeeedPropertyName;
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|