Class CharacterSmartTexture
java.lang.Object
zombie.asset.Asset
zombie.core.textures.Texture
zombie.core.textures.SmartTexture
zombie.characterTextures.CharacterSmartTexture
- All Implemented Interfaces:
Serializable, IDestroyable, IMaskerable, ITexture
Created by LEMMY on 6/30/2016.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class Texture
Texture.TextureAssetParamsNested classes/interfaces inherited from class Asset
Asset.ObserverCallback, Asset.State -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String[]static final intstatic final intstatic final intstatic final intstatic final intstatic final String[]static final intstatic final String[]static final String[]Fields inherited from class SmartTexture
commands, resultFields inherited from class Texture
ASSET_TYPE, assetParams, bindAlways, bindCount, doingQuad, flip, la, lastlastTextureID, lastTextureID, lb, lg, lr, nullTextures, offsetX, offsetY, totalTextureID, warnFailFindTexture, xEnd, xStart, yEnd, yStart -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloataddBlood(BloodBodyPartType bodyPart, float intensity, IsoGameCharacter chr) floataddDirt(BloodBodyPartType bodyPart, float intensity, IsoGameCharacter chr) voidaddShirtDecal(String dec) voidvoidremoveBlood(BloodBodyPartType bodyPart) voidsetBlood(BloodBodyPartType bodyPart, float intensity) voidsetDirt(BloodBodyPartType bodyPart, float intensity) Methods inherited from class SmartTexture
add, add, add, add, add, add, add, add, add, add, addDirtOverlay, addHole, addHue, addHue, addMaskedTexture, addMaskedTexture, addOverlay, addOverlay, addOverlayPatches, addRect, addSeparate, addSeparate, addSeparate, addSeparate, addTexture, addTint, addTint, addTintedOverlay, bind, calculate, clear, destroy, getData, getFirstFromCategory, getID, isEmpty, isFailure, isReady, mask, mask, maskHue, maskHue, maskTint, maskTint, removeHole, removeHole, removeHole, saveOnRenderThreadMethods inherited from class Texture
bind, bindNone, clearTextures, collectAllIcons, copyMaskRegion, createMask, createMask, createMask, createMask, equals, flipPixels, forgetTexture, getEngineMipmapTexture, getErrorTexture, getHeight, getHeightHW, getHeightOrig, getMask, getName, getOffsetX, getOffsetY, getRealHeight, getRealWidth, getSharedTexture, getSharedTexture, getSteamAvatar, getTexture, getTextureId, getType, getUseAlphaChannel, getUVScale, getWhite, getWidth, getWidthHW, getWidthOrig, getX, getXEnd, getXStart, getY, getYEnd, getYStart, isCollisionable, isDestroyed, isMaskSet, isSolid, isValid, loadMaskRegion, makeTransp, onBeforeReady, onTexturePacksChanged, processFilePath, reload, reloadFromFile, render, render, render, render, renderdiamond, rendershader2, renderstrip, renderwalln, renderwallnw, renderwallw, saveMask, saveMaskRegion, saveToCurrentSavefileDirectory, saveToZomboidDirectory, setAlphaForeach, setCustomizedTexture, setData, setHeight, setMask, setName, setNameOnly, setOffsetX, setOffsetY, setRealHeight, setRealWidth, setRegion, setUseAlphaChannel, setWidth, split, split, split, split2D, splitIcon, steamAvatarChanged, TexDeferedCreation, TexDeferedCreation, toString, trygetTextureMethods inherited from class Asset
addDependency, getAssetManager, getObserverCb, getPath, getRefCount, getState, onCreated, removeDependency, setAssetParams
-
Field Details
-
BODY_CATEGORY
public static final int BODY_CATEGORY- See Also:
-
CLOTHING_BOTTOM_CATEGORY
public static final int CLOTHING_BOTTOM_CATEGORY- See Also:
-
CLOTHING_TOP_CATEGORY
public static final int CLOTHING_TOP_CATEGORY- See Also:
-
CLOTHING_ITEM_CATEGORY
public static final int CLOTHING_ITEM_CATEGORY- See Also:
-
DECAL_OVERLAY_CATEGORY
public static final int DECAL_OVERLAY_CATEGORY- See Also:
-
DIRT_OVERLAY_CATEGORY
public static final int DIRT_OVERLAY_CATEGORY- See Also:
-
MaskFiles
-
BasicPatchesMaskFiles
-
DenimPatchesMaskFiles
-
LeatherPatchesMaskFiles
-
-
Constructor Details
-
CharacterSmartTexture
public CharacterSmartTexture()
-
-
Method Details
-
setBlood
-
setDirt
-
removeBlood
public void removeBlood() -
removeBlood
-
addBlood
-
addDirt
-
addShirtDecal
-