Pong/Scripts/Managers/BasePaddle.cs
Fries 65ef70f583 the enemy can now see when the screen is adjusted.
the scaling manager now controls when the various objects are active so stuff won't be null because of stuff running too fast or slow.
2023-06-02 17:15:44 -07:00

15 lines
308 B
C#

namespace Pong.Scripts.Managers;
public partial class BasePaddle: RigidBody2D
{
[Export] protected double MoveSpeed;
internal ScalingManager ScalingManager;
protected Vector2? NewPosition;
internal bool Running;
internal void SetNewPosition(Vector2 newPosition)
{
NewPosition = newPosition;
}
}