<commit_before>/* 
 * File:     IComputer.h
 * Project:  LinWarrior 3D
 * Home:     hackcraft.de
 *
 * Created on September 15, 2011, 7:40 PM
 */

#ifndef RCOMPUTER_H
#define	RCOMPUTER_H

#include "de/hackcraft/world/Component.h"

/** Computer Component
 *  Placeholder base class for computerized components.
 *  Computers have to implement animate and drawHUD methods to be useful.
 *  The message method isn't mandatory.
 */
struct IComputer {
public:
    virtual void message(Message * message) { };
    virtual void animate(float spf) = 0;
    virtual void drawHUD() = 0;
};

#endif	/* RCOMPUTER_H */

<commit_msg>Refactoring: Cleaning IComputer interface - removing message method.<commit_after>/* 
 * File:     IComputer.h
 * Project:  LinWarrior 3D
 * Home:     hackcraft.de
 *
 * Created on September 15, 2011, 7:40 PM
 */

#ifndef RCOMPUTER_H
#define	RCOMPUTER_H

#include "de/hackcraft/world/Component.h"

/** Computer Component
 *  Placeholder base class for computerized components.
 *  Computers have to implement animate and drawHUD methods to be useful.
 *  The message method isn't mandatory.
 */
class IComputer {
public:
    virtual void animate(float spf) = 0;
    virtual void drawHUD() = 0;
};

#endif	/* RCOMPUTER_H */


{'fraction_non_alphanumeric': 0.1005631536604988, 'fraction_numerical': 0.019308125502815767, 'mean_word_length': 3.5236363636363635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5280760', 'n_tokens_mistral': 434, 'n_tokens_neox': 401, 'n_words': 128}