LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Snake::Food Struct Reference

Instance of the egg which will be eat by the snake. More...

Public Member Functions

void update (const unsigned int &new_x, const unsigned int &new_y)
 Updates the position and direction of the part.
 

Public Attributes

unsigned int x
 The position on the X-axis.
 
unsigned int y
 The position on the Y-axis.
 
QGraphicsPixmapItem * image
 

Detailed Description

Instance of the egg which will be eat by the snake.

Member Data Documentation

◆ image

QGraphicsPixmapItem* Snake::Food::image

The image which graphically represents the egg


The documentation for this struct was generated from the following file: