mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 12:33:35 +00:00
19 lines
400 B
C++
19 lines
400 B
C++
#pragma once
|
|
|
|
#include "Attribute.h"
|
|
|
|
class BaseAttribute : public Attribute {
|
|
private:
|
|
eATTRIBUTE_ID id;
|
|
double defaultValue;
|
|
bool syncable;
|
|
|
|
protected:
|
|
BaseAttribute(eATTRIBUTE_ID id, double defaultValue);
|
|
|
|
public:
|
|
virtual eATTRIBUTE_ID getId();
|
|
virtual double getDefaultValue();
|
|
virtual bool isClientSyncable();
|
|
virtual BaseAttribute* setSyncable(bool syncable);
|
|
}; |