mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-22 11:52:38 -04:00
16 lines
527 B
Java
16 lines
527 B
Java
package stargatetech2.api;
|
|
|
|
public abstract class StargateTechAPI implements IStargateTechAPI {
|
|
protected static IStargateTechAPI apiInstance;
|
|
|
|
/**
|
|
* StargateTech's API is abstract, and it's implementation is not visible in the API package.
|
|
* All available methods in IStargateTechAPI are implemented elsewhere.
|
|
* This method allows you to retrieve an instance of that implementation.
|
|
*
|
|
* @return a concrete implementation of IStargateTechAPI
|
|
*/
|
|
public static IStargateTechAPI api(){
|
|
return apiInstance;
|
|
}
|
|
} |