Renamed "setDREF" function back to "sendDREF".

This commit is contained in:
Jason Watkins
2015-04-27 10:02:31 -07:00
parent 22a2adf5f2
commit 8932edbd67
11 changed files with 19 additions and 19 deletions

View File

@@ -306,9 +306,9 @@ public class XPlaneConnect implements AutoCloseable
throw new IOException("No response received.");
}
public void setDREF(String dref, float value) throws IOException
public void sendDREF(String dref, float value) throws IOException
{
setDREF(dref, new float[] {value});
sendDREF(dref, new float[] {value});
}
/**
@@ -318,7 +318,7 @@ public class XPlaneConnect implements AutoCloseable
* @param value An array of floating point values whose structure depends on the dref specified.
* @throws IOException If the command cannot be sent.
*/
public void setDREF(String dref, float[] value) throws IOException
public void sendDREF(String dref, float[] value) throws IOException
{
//Preconditions
if(dref == null)