Program Listing for File DummyArtist.hpp

Return to documentation for file (include/dish2/viz/artists/DummyArtist.hpp)

#pragma once
#ifndef DISH2_VIZ_ARTISTS_DUMMYARTIST_HPP_INCLUDE
#define DISH2_VIZ_ARTISTS_DUMMYARTIST_HPP_INCLUDE

#include <utility>

#include "../../../../third-party/Empirical/include/emp/web/Canvas.hpp"

namespace dish2 {

struct DummyArtist {

  template<typename... Args> explicit DummyArtist( Args&&... args ) {}

  void Draw( const emp::web::Canvas& ) { }

  static std::string GetName() { return "Dummy"; }

};

} // namespace dish2

#endif // #ifndef DISH2_VIZ_ARTISTS_DUMMYARTIST_HPP_INCLUDE