C# Class ARCed.Controls.IconCache

显示文件 Open project: borisblizzard/arcreator

Public Methods

Method Description
Bush ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D

Caches and returns an icon used for Bush flags.

Counter ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D

Caches and returns an icon used for Counter flags.

Passage ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D

Caches and returns an icon used for Passage.

Passage4Dir ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D

Caches and returns an icon used for Passage 4-Dir.

Priority ( int priority ) : Microsoft.Xna.Framework.Graphics.Texture2D

Caches and returns an icon used for Priority.

Terrain ( int terrain ) : Microsoft.Xna.Framework.Graphics.Texture2D

Caches and returns an icon used for Terrain Tags.

Private Methods

Method Description
CacheTexture ( string key ) : Microsoft.Xna.Framework.Graphics.Texture2D
GetBitmap ( string key ) : Bitmap

Method Details

Bush() public static method

Caches and returns an icon used for Bush flags.
public static Bush ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D
passage int Passage value
return Microsoft.Xna.Framework.Graphics.Texture2D

Counter() public static method

Caches and returns an icon used for Counter flags.
public static Counter ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D
passage int Passage value
return Microsoft.Xna.Framework.Graphics.Texture2D

Passage() public static method

Caches and returns an icon used for Passage.
public static Passage ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D
passage int Passage value
return Microsoft.Xna.Framework.Graphics.Texture2D

Passage4Dir() public static method

Caches and returns an icon used for Passage 4-Dir.
public static Passage4Dir ( int passage ) : Microsoft.Xna.Framework.Graphics.Texture2D
passage int Passage value
return Microsoft.Xna.Framework.Graphics.Texture2D

Priority() public static method

Caches and returns an icon used for Priority.
public static Priority ( int priority ) : Microsoft.Xna.Framework.Graphics.Texture2D
priority int Priority value
return Microsoft.Xna.Framework.Graphics.Texture2D

Terrain() public static method

Caches and returns an icon used for Terrain Tags.
public static Terrain ( int terrain ) : Microsoft.Xna.Framework.Graphics.Texture2D
terrain int Terrain tag value
return Microsoft.Xna.Framework.Graphics.Texture2D