XSGridEditor  1.0.0
XSGridEditor is a lightweight square grid map system for 2D/3D SRPG games, and comes with a simple and easy-to-use grid editing function. It can be used as a beginning for you to create SRPG games.
Public Member Functions | Protected Member Functions | Package Functions | Properties | List of all members
XSSLG.XSPrefabNodeMgr Class Reference
Inheritance diagram for XSSLG.XSPrefabNodeMgr:
XSSLG.XSINodeMgr< XSPrefabNode >

Public Member Functions

 XSPrefabNodeMgr ()
 
virtual void CreateDict (List< XSPrefabNode > nodeList)
 
virtual bool Add (XSPrefabNode node)
 add to dict More...
 
virtual bool RemoveByWorldPos (Vector3 worldPos)
 
virtual bool HasItem (Vector3 worldPos)
 
- Public Member Functions inherited from XSSLG.XSINodeMgr< XSPrefabNode >
bool Add (T node)
 
bool RemoveByWorldPos (Vector3 worldPos)
 

Protected Member Functions

void CheckList (List< XSPrefabNode > list)
 

Package Functions

virtual List< XSPrefabNodeGetOrCreateList (Vector3 worldPos)
 
virtual List< XSPrefabNodeGetOrCreateList (Vector3 worldPos, out Vector3Int tilePos)
 

Properties

Dictionary< Vector3Int, List< XSPrefabNode > > Dict = new Dictionary<Vector3Int, List<XSPrefabNode>>() [get, private set]
 

Constructor & Destructor Documentation

◆ XSPrefabNodeMgr()

XSSLG.XSPrefabNodeMgr.XSPrefabNodeMgr ( )
inline

Member Function Documentation

◆ Add()

virtual bool XSSLG.XSPrefabNodeMgr.Add ( XSPrefabNode  node)
inlinevirtual

add to dict

Parameters
node
Returns

◆ CheckList()

void XSSLG.XSPrefabNodeMgr.CheckList ( List< XSPrefabNode list)
inlineprotected

◆ CreateDict()

virtual void XSSLG.XSPrefabNodeMgr.CreateDict ( List< XSPrefabNode nodeList)
inlinevirtual

◆ GetOrCreateList() [1/2]

virtual List<XSPrefabNode> XSSLG.XSPrefabNodeMgr.GetOrCreateList ( Vector3  worldPos)
packagevirtual

◆ GetOrCreateList() [2/2]

virtual List<XSPrefabNode> XSSLG.XSPrefabNodeMgr.GetOrCreateList ( Vector3  worldPos,
out Vector3Int  tilePos 
)
inlinepackagevirtual

◆ HasItem()

virtual bool XSSLG.XSPrefabNodeMgr.HasItem ( Vector3  worldPos)
inlinevirtual

◆ RemoveByWorldPos()

virtual bool XSSLG.XSPrefabNodeMgr.RemoveByWorldPos ( Vector3  worldPos)
inlinevirtual

Property Documentation

◆ Dict

Dictionary<Vector3Int, List<XSPrefabNode> > XSSLG.XSPrefabNodeMgr.Dict = new Dictionary<Vector3Int, List<XSPrefabNode>>()
getprivate set

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