コード例 #1
0
        protected AbstractTexture(ITextureLoader loader, int x, int y, int width, int height, string characterRace, int order, TextureType type = TextureType.Skin) : this(loader, characterRace, width, height)
        {
            this.x = x;
            this.y = y;

            this.MergeOrder = order;
            this.Type       = type;

            textures = textureLoader.ParseTextures(this);
            LoadTexture();
        }
コード例 #2
0
 protected AbstractTexture(ITextureLoader loader, string characterRace, int width, int height, string path) : this(loader, characterRace, width, height)
 {
     textures = loader.ParseTextures(this, path);
     LoadTexture();
 }