mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-11-04 04:47:13 +08:00 
			
		
		
		
	docs: Fixing components sub-directory path (#2359)
At the *Other classes* session, when it is mentioned that we need to create the `components` sub-directory, the tutorial is guiding us to add it in the root, but on the structure below, it is possible to see that it should be created inside the `libs` folder instead. It seems to be better to be more explicit in this paragraph.
This commit is contained in:
		@ -85,8 +85,8 @@ As we already mentioned in the previous chapter, our game mainly consists of
 | 
				
			|||||||
will defer implementation of that class to the next chapter.
 | 
					will defer implementation of that class to the next chapter.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For now, let's create the container classes, as shown on the sketch. These are:
 | 
					For now, let's create the container classes, as shown on the sketch. These are:
 | 
				
			||||||
`Stock`, `Waste`, `Pile` and `Foundation`. In your project directory create a
 | 
					`Stock`, `Waste`, `Pile` and `Foundation`. Inside the `lib/` folder create a
 | 
				
			||||||
sub-directory `components`, and then the file `components/stock.dart`. In that
 | 
					sub-directory `components`, and then the file `lib/components/stock.dart`. In that
 | 
				
			||||||
file write
 | 
					file write
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```dart
 | 
					```dart
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user