It is recommended to even take such light food 45 minutes before class. If you can do it in the other half of the day, then the time between eating and training should be increased to 2 hours. Food should not be fat or heavy for digestion. Eating fatty foods is not recommended because it will complicate the digestion and this can cause such troubles as nausea or heaviness in the stomach in your training. Agree, you do not need such partners when playing sports, so be sure to keep in mind.