#include "animation_block.h" #include "indent.h" #include "gpl_assert.h" Animation_block::Animation_block(int forward_line, Symbol *parameter, string name) : Statement_block(-1) { // m_forward_line is only used for debuggin m_forward_line = forward_line; m_name = name; // should do some error checking on parameter m_parameter_symbol = parameter; } void Animation_block::execute(Game_object *argument) { // not implemented yet assert(false); } ostream & Animation_block::print(ostream &os) const { os << indent << "Animation_block[" << m_line; os << "]" << endl << indent << "{" << endl; indent++; os << indent << "animation block not implemented yet" << endl; indent--; os << indent << "}"; return os; } ostream & operator<<(ostream &os, const Animation_block &animation_block) { return animation_block.print(os); } ostream & operator<<(ostream &os, const Animation_block *animation_block) { if (!animation_block) { os << indent << "NULL"; return os; } return animation_block->print(os); }