Differences

This shows you the differences between two versions of the page.

Link to this comparison view

block_cache [2015/02/10 04:08]
chris created
block_cache [2015/02/10 04:08] (current)
chris
Line 3: Line 3:
 The block cache is a mechanism in which we define a model class that pre-loads block types so we don't need to look them up via gameplay. ​ You can do this manually, by initializing it in the constructor of the World, but there'​s an easier way. The block cache is a mechanism in which we define a model class that pre-loads block types so we don't need to look them up via gameplay. ​ You can do this manually, by initializing it in the constructor of the World, but there'​s an easier way.
  
-<​file ​casharp ​BlockCache.cs>​+<​file ​csharp ​BlockCache.cs>​
 public class BlockCache public class BlockCache
 { {