Finished Digital Miner visual render functionality, also fixed a few issues with gas tanks

This commit is contained in:
Aidan C. Brady committed 2014-07-21 13:30:39 -04:00
1 parent 69a411813e
commit 0416e2e904
11 files changed
+40 -54

No files matched your search

@@ -171,6 +171,15 @@ public class GasTank
{
return stored;
}
/**
* Gets the type of gas currently stored in this GasTank.
* @return gas type contained
*/
public Gas getGasType()
{
return stored != null ? stored.getGas() : null;
}
/**
* Gets the amount of gas stored by this GasTank.