using System;
using Framework.Services;
namespace Framework.Layers {
/// Manages layer masks that can be used to check collisions
[
ServiceScope(Scope.Global),
DefaultBinding(typeof(LayerMaskManager))
]
public interface ILayerMaskService {
///
/// Looks up the default collision mask for the layer with the specified name
///
///
/// Name of the layer whose collision mask will be looked up
///
/// The default collision mask for the layer with the specified name
int GetDefaultMask(string layerName);
/// Retrieves one of the configured layer masks by its name
/// Name of the layer mask that will be retrieved
/// The layer mask with the specified name
int GetMask(string layerMaskName);
/// Changes one of the configured layer masks
/// Name of the layer mask that will be changed
/// New layer mask to store under that given name
void SetMask(string layerMaskName, int mask);
}
} // namespace Framework.Layers