Skip to content

Commit 8bdbded

Browse files
authored
Merge pull request #259 from Bigfoot71/master
Changing access modifiers to `protected`
2 parents a3c520a + 592ac75 commit 8bdbded

25 files changed

+25
-25
lines changed

include/AudioStream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class AudioStream : public ::AudioStream {
211211
}
212212
}
213213

214-
private:
214+
protected:
215215
void set(const ::AudioStream& stream) {
216216
buffer = stream.buffer;
217217
processor = stream.processor;

include/BoundingBox.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class BoundingBox : public ::BoundingBox {
7070
return GetRayCollisionBox(ray, *this);
7171
}
7272

73-
private:
73+
protected:
7474
void set(const ::BoundingBox& box) {
7575
min = box.min;
7676
max = box.max;

include/Camera2D.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Camera2D : public ::Camera2D {
6060
return ::GetWorldToScreen2D(position, *this);
6161
}
6262

63-
private:
63+
protected:
6464
void set(const ::Camera2D& camera) {
6565
offset = camera.offset;
6666
target = camera.target;

include/Camera3D.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class Camera3D : public ::Camera3D {
119119
::DrawBillboardRec(*this, texture, sourceRec, center, size, tint);
120120
}
121121

122-
private:
122+
protected:
123123
void set(const ::Camera3D& camera) {
124124
position = camera.position;
125125
target = camera.target;

include/Color.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ class Color : public ::Color {
244244
inline static Color Magenta() { return MAGENTA; }
245245
inline static Color RayWhite() { return RAYWHITE; }
246246

247-
private:
247+
protected:
248248
void set(const ::Color& color) {
249249
r = color.r;
250250
g = color.g;

include/Font.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ class Font : public ::Font {
287287
return ::ImageTextEx(*this, text.c_str(), fontSize, spacing, tint);
288288
}
289289

290-
private:
290+
protected:
291291
void set(const ::Font& font) {
292292
baseSize = font.baseSize;
293293
glyphCount = font.glyphCount;

include/Gamepad.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Gamepad {
112112
return SetGamepadMappings(mappings.c_str());
113113
}
114114

115-
private:
115+
protected:
116116
inline void set(int gamepadNumber) {
117117
number = gamepadNumber;
118118
}

include/Image.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ class Image : public ::Image {
726726
return ::IsImageReady(*this);
727727
}
728728

729-
private:
729+
protected:
730730
void set(const ::Image& image) {
731731
data = image.data;
732732
width = image.width;

include/Material.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class Material : public ::Material {
116116
return ::IsMaterialReady(*this);
117117
}
118118

119-
private:
119+
protected:
120120
void set(const ::Material& material) {
121121
shader = material.shader;
122122
maps = material.maps;

include/Matrix.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ class Matrix : public ::Matrix {
205205

206206
#endif
207207

208-
private:
208+
protected:
209209
void set(const ::Matrix& mat) {
210210
m0 = mat.m0;
211211
m1 = mat.m1;

0 commit comments

Comments
 (0)