mirror of
https://github.com/eliasstepanik/FluidSimulation.git
synced 2026-01-11 21:48:28 +00:00
15 lines
337 B
C#
15 lines
337 B
C#
using System.Numerics;
|
|
|
|
namespace PixelEngine;
|
|
|
|
public abstract class Hole
|
|
{
|
|
public Hole(Vector2 position, float mass)
|
|
{
|
|
this.position = position;
|
|
this.mass = mass;
|
|
}
|
|
public abstract void Spawn(Fluid fluid);
|
|
public abstract Vector2 position { get; set; }
|
|
public abstract float mass { get; set; }
|
|
} |