protected virtual bool[] ParsePropTypeFlip(CCNode node, CCNode parent, CCBReader reader) { bool flipX = reader.ReadBool(); bool flipY = reader.ReadBool(); var arr = new bool[2]; arr[0] = flipX; arr[1] = flipY; return arr; }
protected virtual bool ParsePropTypeCheck(CCNode node, CCNode parent, CCBReader reader, string propertyName) { bool ret = reader.ReadBool(); if (reader.AnimatedProperties.Contains(propertyName)) { CCBValue value = CCBValue.Create(ret); reader.AnimationManager.SetBaseValue(value, node, propertyName); } return ret; }