changes
This commit is contained in:
parent
86be86c7c7
commit
3e199af353
lesson#26 - Drawing a player/ourGame/source/game
|
@ -26,7 +26,7 @@ class Entity {
|
|||
Rectangle frame;
|
||||
Vector2 position;
|
||||
|
||||
this(const Texture2D texture, const Rectangle frame, const Vector2 Position) {
|
||||
this(const ref Texture2D texture, const Rectangle frame, const Vector2 Position) {
|
||||
this.texture = texture;
|
||||
this.frame = frame;
|
||||
this.position = position;
|
||||
|
|
Loading…
Reference in New Issue