public ResourceCache(AllianceGame owner) { FontProvider.Register(this); ImageProvider.Register(this); Owner = owner; LoadContent(); }
public ResourceProvider() { FontProvider.Register(this); ImageProvider.Register(this); font = new Font("Consolas", 8.75f); textures = new Dictionary <string, GsImage>(); images = new Dictionary <string, FramedImage>(); LoadTextures(); LoadImages(); }