-
Notifications
You must be signed in to change notification settings - Fork 1
Meat
Mittun Sudhahar edited this page Oct 13, 2024
·
6 revisions
Meat is a subclass of the Food class. This item provides values for the quantity, limit, texture, name, and item code of this specific item. The effects of meat are higher than those smaller foods such as Carrot and Apple however still less than (Candy)[Candy] effects
The item should be able to increase the player's hunger stat by 7 and should be deleted from inventory after 3 uses
public Meat(Texture foodTexture) {
super("Carrot", 8, 10, 3, new FeedEffect(7));
this.meatTexture = new Texture("foodTexture/meat.png");
}
downloaded from https://en.ac-illust.com/clip-art/24140526/pixel-art-cartoon-meat-half-eaten and edited by @PHONGNGUYEN1