Corgi Engine  v9.1
MoreMountains.CorgiEngine.LayerManager Class Reference

A simple static class that keeps track of layer names, holds ready to use layermasks for most common layers and layermasks combinations Of course if you happen to change the layer order or numbers, you'll want to udpate this class. More...

Static Public Attributes

static int PlatformsLayerMask = 1 << PlatformsLayer
 
static int OneWayPlatformsLayerMask = 1 << OneWayPlatformsLayer
 
static int ProjectilesLayerMask = 1 << ProjectilesLayer
 
static int PlayerLayerMask = 1 << PlayerLayer
 
static int EnemiesLayerMask = 1 << EnemiesLayer
 
static int MovingPlatformsLayerMask = 1 << MovingPlatformsLayer
 
static int PushablesLayerMask = 1 << PushablesLayer
 
static int MovingObjectsLayerMask = 1 << MovingObjectsLayer
 
static int MovingOneWayPlatformsMask = 1 << MovingOneWayPlatformsLayer
 
static int StairsLayerMask = 1 << StairsLayer
 
static int MidHeightOneWayPlatformsLayerMask = 1 << MidHeightOneWayPlatformsLayer
 
static int ObstaclesLayerMask = LayerManager.PlatformsLayerMask | LayerManager.MovingPlatformsLayerMask | LayerManager.OneWayPlatformsLayerMask
 

Detailed Description

A simple static class that keeps track of layer names, holds ready to use layermasks for most common layers and layermasks combinations Of course if you happen to change the layer order or numbers, you'll want to udpate this class.

Member Data Documentation

◆ EnemiesLayerMask

int MoreMountains.CorgiEngine.LayerManager.EnemiesLayerMask = 1 << EnemiesLayer
static

◆ MidHeightOneWayPlatformsLayerMask

int MoreMountains.CorgiEngine.LayerManager.MidHeightOneWayPlatformsLayerMask = 1 << MidHeightOneWayPlatformsLayer
static

◆ MovingObjectsLayerMask

int MoreMountains.CorgiEngine.LayerManager.MovingObjectsLayerMask = 1 << MovingObjectsLayer
static

◆ MovingOneWayPlatformsMask

int MoreMountains.CorgiEngine.LayerManager.MovingOneWayPlatformsMask = 1 << MovingOneWayPlatformsLayer
static

◆ MovingPlatformsLayerMask

int MoreMountains.CorgiEngine.LayerManager.MovingPlatformsLayerMask = 1 << MovingPlatformsLayer
static

◆ ObstaclesLayerMask

int MoreMountains.CorgiEngine.LayerManager.ObstaclesLayerMask = LayerManager.PlatformsLayerMask | LayerManager.MovingPlatformsLayerMask | LayerManager.OneWayPlatformsLayerMask
static

◆ OneWayPlatformsLayerMask

int MoreMountains.CorgiEngine.LayerManager.OneWayPlatformsLayerMask = 1 << OneWayPlatformsLayer
static

◆ PlatformsLayerMask

int MoreMountains.CorgiEngine.LayerManager.PlatformsLayerMask = 1 << PlatformsLayer
static

◆ PlayerLayerMask

int MoreMountains.CorgiEngine.LayerManager.PlayerLayerMask = 1 << PlayerLayer
static

◆ ProjectilesLayerMask

int MoreMountains.CorgiEngine.LayerManager.ProjectilesLayerMask = 1 << ProjectilesLayer
static

◆ PushablesLayerMask

int MoreMountains.CorgiEngine.LayerManager.PushablesLayerMask = 1 << PushablesLayer
static

◆ StairsLayerMask

int MoreMountains.CorgiEngine.LayerManager.StairsLayerMask = 1 << StairsLayer
static

The documentation for this class was generated from the following file: