Пример #1
0
Dynamic CollisionInfo_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 3:
		if (HX_FIELD_EQ(inName,"min") ) { return min; }
		if (HX_FIELD_EQ(inName,"max") ) { return max; }
		break;
	case 5:
		if (HX_FIELD_EQ(inName,"reset") ) { return reset_dyn(); }
		if (HX_FIELD_EQ(inName,"maskB") ) { return maskB; }
		if (HX_FIELD_EQ(inName,"maskA") ) { return maskA; }
		break;
	case 7:
		if (HX_FIELD_EQ(inName,"recycle") ) { return recycle_dyn(); }
		break;
	case 9:
		if (HX_FIELD_EQ(inName,"infoArray") ) { return infoArray; }
		break;
	case 14:
		if (HX_FIELD_EQ(inName,"solidCollision") ) { return solidCollision; }
		break;
	case 16:
		if (HX_FIELD_EQ(inName,"getCollisionInfo") ) { return getCollisionInfo_dyn(); }
	}
	return super::__Field(inName,inCallProp);
}
Пример #2
0
Dynamic FlxUISprite_obj::__Field(const ::String &inName,bool inCallProp)
{
	switch(inName.length) {
	case 2:
		if (HX_FIELD_EQ(inName,"id") ) { return id; }
		break;
	case 7:
		if (HX_FIELD_EQ(inName,"recycle") ) { return recycle_dyn(); }
		if (HX_FIELD_EQ(inName,"destroy") ) { return destroy_dyn(); }
		break;
	case 8:
		if (HX_FIELD_EQ(inName,"recycled") ) { return recycled; }
		break;
	case 9:
		if (HX_FIELD_EQ(inName,"ptr_owner") ) { return ptr_owner; }
		break;
	case 16:
		if (HX_FIELD_EQ(inName,"broadcastToFlxUI") ) { return broadcastToFlxUI; }
	}
	return super::__Field(inName,inCallProp);
}