1/* 2 * Copyright 2013, Stephan A��mus <superstippi@gmx.de>. 3 * All rights reserved. Distributed under the terms of the MIT License. 4 */ 5#ifndef BULLET_H 6#define BULLET_H 7 8#include "BulletData.h" 9 10 11class Bullet { 12public: 13 Bullet(); 14 Bullet(const BString& string, float spacing); 15 Bullet(const Bullet& other); 16 17 Bullet& operator=(const Bullet& other); 18 bool operator==(const Bullet& other) const; 19 bool operator!=(const Bullet& other) const; 20 21 bool SetString(const BString& string); 22 const BString& String() const; 23 24 bool SetSpacing(float spacing); 25 float Spacing() const; 26 27private: 28 BulletDataRef fBulletData; 29}; 30 31 32#endif // BULLET_H 33