Updated Using raylib with Cpp (markdown)

master
Manuel 1 개월 전
부모
커밋
176fcde726
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      Using-raylib-with-Cpp.md

+ 1
- 1
Using-raylib-with-Cpp.md

@ -30,7 +30,7 @@ DrawText(my_string.c_str(),0,0,20,RED);
It is a common Object Oriented pattern to use Resource Acquisition Is Initialization (RAII). It may seem obvious to use this pattern with textures and models in raylib. This is possible to do, but the developer must be aware of the object lifetime, and when copies are made. For shared resources you need to follow the rule of 5 (https://en.cppreference.com/w/cpp/language/rule_of_three).
It is very common for new developer to make a class like this to automatically load an unload textures when things are created or go out of scope.
```
```cpp
class MySprite
{
private:

불러오는 중...
취소
저장