mirror of
https://github.com/Rogiel/star-map
synced 2025-12-05 23:02:50 +00:00
Allows the Minimap entity to return a image resource for further image processing
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.idea/
|
||||
@@ -63,6 +63,17 @@ class Minimap {
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Gets the image resource
|
||||
*
|
||||
* @return resource
|
||||
*/
|
||||
public function getImageResource() {
|
||||
return $this->resource;
|
||||
}
|
||||
|
||||
// -----------------------------------------------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* @param $data
|
||||
* @param int $return_array
|
||||
|
||||
Reference in New Issue
Block a user