Ketchup Engine
Loading...
Searching...
No Matches
ShowPointCommand Class Reference

#include <ShowPointCommand.h>

Inheritance diagram for ShowPointCommand:
Inheritance graph
Collaboration diagram for ShowPointCommand:
Collaboration graph

Public Member Functions

 ShowPointCommand ()
 
 ShowPointCommand (const ShowPointCommand &)=delete
 
ShowPointCommandoperator= (const ShowPointCommand &)=delete
 
 ~ShowPointCommand ()
 
void SetPosRadius (const Vect &pos, float rad)
 
void Execute () override
 Executes this command's behavior.
 
- Public Member Functions inherited from VisualizerCommand
 VisualizerCommand ()
 
virtual void SetColor (Vect col)
 
- Public Member Functions inherited from Command
 Command ()=default
 
 Command (const Command &)=delete
 
Commandoperator= (const Command &)=delete
 
virtual ~Command ()
 
virtual void Execute ()
 Executes this command's behavior.
 

Private Attributes

Vect m_pos
 
float m_rad
 

Additional Inherited Members

- Protected Attributes inherited from VisualizerCommand
Vect m_color
 

Constructor & Destructor Documentation

◆ ShowPointCommand() [1/2]

ShowPointCommand::ShowPointCommand ( )

◆ ShowPointCommand() [2/2]

ShowPointCommand::ShowPointCommand ( const ShowPointCommand )
delete

◆ ~ShowPointCommand()

ShowPointCommand::~ShowPointCommand ( )
inline

Member Function Documentation

◆ Execute()

void ShowPointCommand::Execute ( )
overridevirtual

Executes this command's behavior.

Haru, 3/19/2023.

Reimplemented from Command.

◆ operator=()

ShowPointCommand & ShowPointCommand::operator= ( const ShowPointCommand )
delete

◆ SetPosRadius()

void ShowPointCommand::SetPosRadius ( const Vect &  pos,
float  rad 
)

Member Data Documentation

◆ m_pos

Vect ShowPointCommand::m_pos
private

◆ m_rad

float ShowPointCommand::m_rad
private

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