realize YYSprite.cpp
add equalStruct Function