Added a getter for size since it's the only way
to compare a particular BitmapText's size to the BitmapFont size. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
9b30f25616
commit
580579285b
@ -98,6 +98,10 @@ public class BitmapText extends Node {
|
|||||||
letters.invalidate();
|
letters.invalidate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public float getSize() {
|
||||||
|
return block.getSize();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param text charsequence to change text to
|
* @param text charsequence to change text to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user