cirnogodot/Scripts/Components/PlayerDetection.cs

18 lines
398 B
C#
Raw Normal View History

using Godot;
using Godot.Collections;
namespace Cirno.Scripts.Components;
public partial class PlayerDetection : Area2D
{
public InteractionController CachedPlayer => _cachedPlayer;
protected InteractionController _cachedPlayer;
2025-03-20 18:22:40 +01:00
public virtual bool IsPlayerInRange { get; set; }
public virtual bool IsPlayerInSight(uint collisionMask)
{
return false;
}
}