MapCarveCollisionSystem
Namespace: Murder.Systems
Assembly: Murder.dll
public class MapCarveCollisionSystem : IReactiveSystem, ISystem
Implements: IReactiveSystem, ISystem
⭐ Constructors
public MapCarveCollisionSystem()
⭐ Methods
IsValidCarve(Entity, ColliderComponent, CarveComponent)
protected bool IsValidCarve(Entity e, ColliderComponent collider, CarveComponent carve)
Parameters
e
Entity
collider
ColliderComponent
carve
CarveComponent
Returns
bool
TrackEntityOnGrid(Map, Entity, IntRectangle)
protected void TrackEntityOnGrid(Map map, Entity e, IntRectangle rect)
Parameters
map
Map
e
Entity
rect
IntRectangle
UntrackEntityOnGrid(Map, Entity, IntRectangle, bool)
protected void UntrackEntityOnGrid(Map map, Entity e, IntRectangle rect, bool force)
Parameters
map
Map
e
Entity
rect
IntRectangle
force
bool
OnAdded(World, ImmutableArray)
public virtual void OnAdded(World world, ImmutableArray<T> entities)
Parameters
world
World
entities
ImmutableArray<T>
OnModified(World, ImmutableArray)
public virtual void OnModified(World world, ImmutableArray<T> entities)
Parameters
world
World
entities
ImmutableArray<T>
OnRemoved(World, ImmutableArray)
public virtual void OnRemoved(World world, ImmutableArray<T> entities)
Parameters
world
World
entities
ImmutableArray<T>
⚡