Class GJSmartTemplate
#include <Geode/binding/GJSmartTemplate.hpp>classGJSmartTemplate:publiccocos2d::CCObject{ ... }
No description provided
Examples0
Public static methods23
staticGJSmartTemplate*create()
No description provided
staticvoidapplyTransformationsForType(SmartBlockTypetype,cocos2d::CCSprite*sprite)
No description provided
staticGJSmartTemplate*createWithCoder(DS_Dictionary*dict)
No description provided
staticSmartBlockTypeflipBlockType(SmartBlockTypetype,boolflipX,boolflipY)
No description provided
staticSmartBlockTypeflipBlockTypeX(SmartBlockTypetype)
No description provided
staticSmartBlockTypeflipBlockTypeY(SmartBlockTypetype)
No description provided
staticgd::stringflipKey(gd::stringkey,boolflipX,boolflipY)
No description provided
staticcocos2d::CCDictionary*generateRemapDict()
No description provided
staticgd::stringgetSimplifiedKey(gd::stringkey)
No description provided
staticSmartBlockTypegetSimplifiedType(SmartBlockTypetype,bool&changed)
No description provided
staticgd::stringgetVerySimplifiedKey(gd::stringkey)
No description provided
staticgd::stringkeyFromNeighbors(cocos2d::CCPointposition,SmartGameObject*object,SmartGameObject*left,SmartGameObject*right,,SmartGameObject*bottom,SmartGameObject*topLeft,SmartGameObject*topRight,SmartGameObject*bottomLeft,SmartGameObject*bottomRight)
No description provided
staticgd::stringkeyFromNeighbors(SmartBlockTypetype,SmartBlockTypeleft,SmartBlockTyperight,,SmartBlockTypebottom,SmartBlockTypetopLeft,SmartBlockTypetopRight,SmartBlockTypebottomLeft,SmartBlockTypebottomRight)
No description provided
staticgd::stringkeyFromNeighborsOld(boolleft,boolright,booltop,boolbottom,booltopLeft,booltopRight,boolbottomLeft,boolbottomRight)
No description provided
staticcocos2d::CCPointoffsetForDir(GJSmartDirectiondirection,intkey)
No description provided
staticcocos2d::CCPointoffsetForObject(SmartGameObject*object)
No description provided
staticcocos2d::CCPointoffsetForType(SmartBlockTypetype)
No description provided
staticSmartBlockTyperotateBlockType(SmartBlockTypetype,intdegrees)
No description provided
staticSmartBlockTyperotateBlockType90(SmartBlockTypetype)
No description provided
staticgd::stringrotateKey(gd::stringkey,intdegrees)
No description provided
staticboolshouldDiscardObject(SmartBlockTypetype,GJSmartDirectiondirection)
No description provided
staticSmartBlockTypesmartObjectToType(SmartGameObject*object,cocos2d::CCPointpoint)
No description provided
staticintsmartTypeToObjectKey(SmartBlockTypetype)
No description provided
Public member functions20
virtualvoidencodeWithCoder(DS_Dictionary*dict)
No description provided
virtualboolcanEncode()
No description provided
voiddataLoaded(DS_Dictionary*dict)
No description provided
gd::stringgetNoCornerKey(gd::stringkey)
No description provided
GJSmartPrefab*getPrefab(cocos2d::CCPointposition,SmartGameObject*object,SmartGameObject*left,SmartGameObject*right,,SmartGameObject*bottom,SmartGameObject*topLeft,SmartGameObject*topRight,SmartGameObject*bottomLeft,SmartGameObject*bottomRight)
No description provided
GJSmartPrefab*getPrefab(gd::stringkey,boolflipX,boolflipY)
No description provided
cocos2d::CCArray*getPrefabs(gd::stringkey)
No description provided
GJSmartPrefab*getPrefabWithID(gd::stringkey,intid)
No description provided
GJSmartPrefab*getRandomPrefab(gd::stringkey)
No description provided
voidgetTemplateState()
No description provided
intgetTotalChanceForPrefab(gd::stringkey)
No description provided
boolinit()
No description provided
boolisUnrequired(gd::stringkey)
No description provided
gd::stringlogTemplateStatus(boolunused)
No description provided
voidremovePrefab(gd::stringprefabKey,intprefabID)
No description provided
voidresetScannedPrefabs()
No description provided
voidsavePrefab(gd::stringkey,gd::stringdata)
No description provided
voidsaveRemap(gd::stringkey)
No description provided
voidsaveRemapToDict(gd::stringkey,gd::stringremap,)
No description provided
SmartPrefabResultscanForPrefab(gd::stringkey)
No description provided
Fields16
cocos2d::CCDictionary*m_prefabArrays;
No description provided
cocos2d::CCDictionary*m_remapDict1;
No description provided
cocos2d::CCDictionary*m_remapDict2;
No description provided
cocos2d::CCDictionary*m_remapDict3;
No description provided
cocos2d::CCDictionary*m_remapDict4;
No description provided
cocos2d::CCDictionary*m_remapDict5;
No description provided
cocos2d::CCDictionary*m_remapDict6;
No description provided
;
No description provided
boolm_allowFlipX;
No description provided
boolm_allowFlipY;
No description provided
boolm_allowRotation;
No description provided
boolm_ignoreCorners;
No description provided
gd::stringm_templateName;
No description provided
gd::stringm_unk0a8;
No description provided
intm_nameIndex;
No description provided
intm_prefabIndex;
No description provided