|
using Encompass;
|
|
|
|
namespace PongFE.Components
|
|
{
|
|
public struct SpawnBallAfterDestroyComponent : IComponent
|
|
{
|
|
public float Speed { get; }
|
|
public float Seconds { get; }
|
|
|
|
public SpawnBallAfterDestroyComponent(float speed, float seconds)
|
|
{
|
|
Speed = speed;
|
|
Seconds = seconds;
|
|
}
|
|
}
|
|
}
|