nsnake
Classic snake game for the terminal
Loading...
Searching...
No Matches
AnimationSnakes Class Reference

Rules and behavior of the Fire animation. More...

#include <AnimationSnakes.hpp>

Inheritance diagram for AnimationSnakes:
Collaboration diagram for AnimationSnakes:

Public Member Functions

 AnimationSnakes (Window *window)
void load ()
 Loads all internal things.
void update ()
 Updates Animation's internal state.
void draw ()
 Shows Animation on the screen.
Public Member Functions inherited from Animation
 Animation (Window *window)
 Creates an Animation that will occur on window.

Additional Inherited Members

Protected Attributes inherited from Animation
Windowwindow

Detailed Description

Rules and behavior of the Fire animation.

Definition at line 25 of file AnimationSnakes.hpp.

Constructor & Destructor Documentation

◆ AnimationSnakes()

AnimationSnakes::AnimationSnakes ( Window * window)

Definition at line 5 of file AnimationSnakes.cpp.

◆ ~AnimationSnakes()

virtual AnimationSnakes::~AnimationSnakes ( )
inlinevirtual

Definition at line 29 of file AnimationSnakes.hpp.

Member Function Documentation

◆ draw()

void AnimationSnakes::draw ( )
virtual

Shows Animation on the screen.

Implements Animation.

Definition at line 57 of file AnimationSnakes.cpp.

◆ load()

void AnimationSnakes::load ( )
virtual

Loads all internal things.

Implements Animation.

Definition at line 8 of file AnimationSnakes.cpp.

◆ update()

void AnimationSnakes::update ( )
virtual

Updates Animation's internal state.

Implements Animation.

Definition at line 15 of file AnimationSnakes.cpp.


The documentation for this class was generated from the following files: