Class SnakeIcon
java.lang.Object
uno.anahata.asi.swing.icons.AbstractAnahataIcon
uno.anahata.asi.swing.icons.SnakeIcon
- All Implemented Interfaces:
Icon
A programmatically drawn Icon representing the Snake game.
Renders a stylized, winding green snake with a small eye, signifying the agile and hungry nature of the Mapacho snake.
- Author:
- anahata
-
Field Summary
Fields inherited from class AbstractAnahataIcon
sizeModifier and TypeFieldDescriptionprotected final intThe dimension of the icon in pixels (width and height). -
Constructor Summary
ConstructorsConstructorDescriptionSnakeIcon(int size) Constructs a new SnakeIcon of the specified square size. -
Method Summary
Methods inherited from class AbstractAnahataIcon
getIconHeight, getIconWidth
-
Constructor Details
-
SnakeIcon
public SnakeIcon(int size) Constructs a new SnakeIcon of the specified square size.- Parameters:
size- The size of the icon.
-
-
Method Details
-
paintIcon
-

